tvl-depot/tvix/eval/build.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
396 B
Rust
Raw Normal View History

use std::env;
fn main() {
println!(
"cargo:rustc-env=TVIX_CURRENT_SYSTEM={}",
&env::var("TARGET").unwrap()
);
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")
}