about summary refs log tree commit diff
path: root/tvix/eval/build.rs
blob: b37a6e8a0c8ddfd8b44e3a5633d6f63d0cd3a8a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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")
}