about summary refs log tree commit diff
path: root/tvix/eval/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/eval/build.rs')
-rw-r--r--tvix/eval/build.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/tvix/eval/build.rs b/tvix/eval/build.rs
index a9c9a78b060d..b37a6e8a0c8d 100644
--- a/tvix/eval/build.rs
+++ b/tvix/eval/build.rs
@@ -5,5 +5,10 @@ fn main() {
         "cargo:rustc-env=TVIX_CURRENT_SYSTEM={}",
         &env::var("TARGET").unwrap()
     );
-    println!("cargo:rerun-if-changed-env=TARGET")
+    println!("cargo:rerun-if-changed-env=TARGET");
+
+    // Pick up new test case files
+    // https://github.com/la10736/rstest/issues/256
+    println!("cargo:rerun-if-changed=src/tests/nix_tests");
+    println!("cargo:rerun-if-changed=src/tests/tvix_tests")
 }