Skip to content

Commit 663c0b6

Browse files
committed
rerun if the targeted library is also changed, not just if the path does
1 parent f47576d commit 663c0b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
fn main() {
22
println!("cargo:rerun-if-env-changed=CUSTOM_LIBFUZZER_PATH");
33
if let Ok(custom) = ::std::env::var("CUSTOM_LIBFUZZER_PATH") {
4+
println!("cargo:rerun-if-changed={custom}");
5+
46
let custom_lib_path = ::std::path::PathBuf::from(&custom);
57
let custom_lib_dir = custom_lib_path.parent().unwrap().to_string_lossy();
68

0 commit comments

Comments
 (0)