rust/build.rs

7 lines
203 B
Rust
Raw Normal View History

fn main() {
// Re-export the TARGET environment variable so it can
// be accessed by miri.
let target = std::env::var("TARGET").unwrap();
2022-08-26 16:38:59 -05:00
println!("cargo:rustc-env=TARGET={}", target);
}