diff options
| author | Mason Reed <mason@vector35.com> | 2025-06-22 18:55:09 -0400 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2025-07-02 01:56:54 -0400 |
| commit | d9a66c30bb5df5275fbcad37fb4e4df218819f44 (patch) | |
| tree | 724287e3841e78f819c1f15c7b6a0429daefb599 /rust | |
| parent | f5781a36a3d1564b853f5f601267adb1566bf15d (diff) | |
[Rust] Rerun bindings generator automatically when `BINARYNINJADIR` changes
This improves the experience when making changes to the core c ffi
Diffstat (limited to 'rust')
| -rw-r--r-- | rust/binaryninjacore-sys/build.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/binaryninjacore-sys/build.rs b/rust/binaryninjacore-sys/build.rs index 2cbf4584..579276a6 100644 --- a/rust/binaryninjacore-sys/build.rs +++ b/rust/binaryninjacore-sys/build.rs @@ -42,6 +42,7 @@ fn link_path() -> PathBuf { } fn main() { + println!("cargo:rerun-if-env-changed=BINARYNINJADIR"); println!("cargo:rerun-if-changed=../../binaryninjacore.h"); //Cargo's output directory |
