diff options
author | David Tolnay <dtolnay@gmail.com> | 2023-02-25 17:30:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-25 17:30:08 -0700 |
commit | 5ebaee1a1dd668ab48a231890a26bae5fa81888a (patch) | |
tree | fa449288bc595991b407cb1455511a9d62872073 | |
parent | 03b0c8d41a1ffb470a3e43bbe7cc9c4aeb6b04e3 (diff) | |
parent | 4c86e136bc304c71f64e10d86298c108570c06db (diff) | |
download | cxx-5ebaee1a1dd668ab48a231890a26bae5fa81888a.tar.gz |
Merge pull request #1182 from schreter/fix_test_rebuild
Fix: pick up changed tests.h/cc to rebuild the bridge
-rw-r--r-- | tests/ffi/build.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ffi/build.rs b/tests/ffi/build.rs index 86f8cd3a..a1a64b7f 100644 --- a/tests/ffi/build.rs +++ b/tests/ffi/build.rs @@ -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"); } |