Skip to content

Commit c45ce05

Browse files
committed
Fix: pick up changed tests.h/cc to rebuild bridge
Previously, modifying tests.h/cc would not trigger rebuild of the bridge, effectively preventing test development.
1 parent b7bb463 commit c45ce05

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/ffi/build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,7 @@ fn main() {
1515
build.define("CXX_TEST_INSTANTIATIONS", None);
1616
}
1717
build.compile("cxx-test-suite");
18+
19+
println!("cargo:rerun-if-changed=tests.cc");
20+
println!("cargo:rerun-if-changed=tests.h");
1821
}

0 commit comments

Comments
 (0)