Skip to content

Commit fbff11a

Browse files
committed
rs, sys: document build feature
1 parent cd84238 commit fbff11a

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1717
- Expose `CS_OPT_UNSIGNED` via `Capstone::set_unsigned`
1818
- Expose `CS_OPT_MNEMONIC` via `Capstone::set_mnemonic`
1919
- Expose `cs_disasm_iter` via `Capstone::disasm_iter`
20+
- Add `build` feature to speed up `cargo check` by building without native code
2021

2122
### Changed
2223
- `InsnDetail::regs_read()`/`InsnDetail::regs_write()` return more of the accessed registers

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,13 @@ More complex demos welcome!
121121
- `std`<sup>&dagger;</sup>: enable `std`-only features, such as the
122122
[`Error` trait](https://doc.rust-lang.org/std/error/trait.Error.html)
123123
- `use_bindgen`: run `bindgen` to generate Rust bindings to Capstone C library
124-
instead of using pre-generated bindings (not recommended).
124+
instead of using pre-generated bindings (not recommended)
125125
- `arch_$ARCH`<sup>&dagger;</sup>: enable arch `$ARCH` support in capstone,
126-
e.g. `arch_arm64` enables arch arm64 support.
126+
e.g. `arch_arm64` enables arch arm64 support
127127
- `support_all_archs`<sup>&dagger;</sup>: enable all archs available
128-
in capstone, imply all `arch_$ARCH` features.
128+
in capstone, imply all `arch_$ARCH` features
129+
- `build`<sup>&dagger;</sup>: compile and link capstone C library,
130+
you can disable it to speed up `cargo check` by 5x
129131

130132
<sup>&dagger;</sup>: enabled by default
131133

capstone-sys/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
- Support for MOS65XX arch
1111
- Support for SH arch
1212
- Arch-specific features flags to enable/disable arch support
13+
- Add `build` feature to speed up `cargo check` by building without native code
1314

1415
### Changed
1516
- Bump bundled capstone to 5.0.6

0 commit comments

Comments
 (0)