From 4c86e136bc304c71f64e10d86298c108570c06db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20Schre=CC=81ter?= Date: Sat, 25 Feb 2023 19:50:50 +0100 Subject: 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. --- tests/ffi/build.rs | 3 +++ 1 file changed, 3 insertions(+) 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"); } -- cgit v1.2.3