mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-20 12:38:43 +00:00
8 lines
169 B
Rust
8 lines
169 B
Rust
|
|
// Fetch build target and define this for the compiler
|
|
fn main() {
|
|
println!(
|
|
"cargo:rustc-env=TARGET={}",
|
|
std::env::var("TARGET").unwrap()
|
|
);
|
|
}
|