mirror of
https://github.com/logos-blockchain/logos-blockchain-circuits.git
synced 2026-05-18 15:29:26 +00:00
Rerun build on circuit dir or lib dir change.
This commit is contained in:
parent
f195de907e
commit
d1a71fdf74
@ -179,6 +179,8 @@ pub fn build(circuit_name: &str, circuit_lib_dir_var: &str) {
|
||||
.to_str()
|
||||
.expect("Failed to convert the bundle library directory path to a string");
|
||||
|
||||
println!("cargo:rerun-if-changed={circuit_lib_dir_str}");
|
||||
println!("cargo:rerun-if-changed={bundle_lib_dir_str}");
|
||||
println!("cargo:rustc-env={circuit_lib_dir_var}={circuit_lib_dir_str}"); // Ensure it's always defined for downstream crates.
|
||||
println!("cargo:rustc-link-search=native={circuit_lib_dir_str}");
|
||||
println!("cargo:rustc-link-search=native={bundle_lib_dir_str}");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user