mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 22:18:23 +03:00
7 lines
203 B
Rust
7 lines
203 B
Rust
fn main() {
|
|
// Re-export the TARGET environment variable so it can
|
|
// be accessed by miri.
|
|
let target = std::env::var("TARGET").unwrap();
|
|
println!("cargo:rustc-env=TARGET={}", target);
|
|
}
|