diff options
Diffstat (limited to 'crates/cargo-test-support/build.rs')
-rw-r--r-- | crates/cargo-test-support/build.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crates/cargo-test-support/build.rs b/crates/cargo-test-support/build.rs new file mode 100644 index 0000000..478da7d --- /dev/null +++ b/crates/cargo-test-support/build.rs @@ -0,0 +1,7 @@ +fn main() { + println!( + "cargo:rustc-env=NATIVE_ARCH={}", + std::env::var("TARGET").unwrap() + ); + println!("cargo:rerun-if-changed=build.rs"); +} |