Skip to content

Commit

Permalink
Merge pull request #1182 from schreter/fix_test_rebuild
Browse files Browse the repository at this point in the history
Fix: pick up changed tests.h/cc to rebuild the bridge
  • Loading branch information
dtolnay authored Feb 26, 2023
2 parents 03b0c8d + 4c86e13 commit 5ebaee1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/ffi/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,7 @@ fn main() {
build.define("CXX_TEST_INSTANTIATIONS", None);
}
build.compile("cxx-test-suite");

println!("cargo:rerun-if-changed=tests.cc");
println!("cargo:rerun-if-changed=tests.h");
}

0 comments on commit 5ebaee1

Please sign in to comment.