Commit Graph

9 Commits

Author SHA1 Message Date
angie
5bc9246c05 Make Rust acknowledge the tables/ folder 2023-06-10 10:20:16 -04:00
angie
1e07ed6d51 Fix clippy warnings 2023-05-04 14:58:54 -04:00
angie
5db531fd5e cargo fmt 2023-05-04 14:24:47 -04:00
Angie
3eee2ae4bb fix cargo build path 2023-05-02 19:09:47 -04:00
Angie
69f69357f7 Move all the tables into a tables folder 2023-05-02 19:01:54 -04:00
Angie
6102f2cf7d Fix C files not being packaged on Rust crates 2022-12-18 19:43:40 -03:00
angie
bddd12847e Build C library in build.rs 2022-12-18 17:12:59 -03:00
angie
b87cf594fe Hopefully fix rust crate publishing 2022-12-18 16:00:24 -03:00
Anghelo Carvajal
fb8c1edbd7
Rust bindings (#17)
* Generate bindings for enums

* Add .gitignore Cargo didn't automatically made

* Actually build the files into the library

* `pub` in `mod` to fix warning

* instruction struct

* Instruction rust binding

* Add InstrId::ALL_MAX

* link C library to rust

* Publish crate CI

* test

* config bindings

* add getters for registers

* add names methods for register enums

* get_operand_type

* feedback from simon

* Forgot to add new file to python setup.py

* get_operands_slice

* add stuff to cargo.toml
2022-12-18 15:15:39 -03:00