mirror of
https://github.com/rust-lang/cargo
synced 2024-10-12 18:52:29 +00:00
10 lines
206 B
Rust
10 lines
206 B
Rust
#![allow(clippy::disallowed_methods)]
|
|
|
|
fn main() {
|
|
println!(
|
|
"cargo:rustc-env=NATIVE_ARCH={}",
|
|
std::env::var("TARGET").unwrap()
|
|
);
|
|
println!("cargo:rerun-if-changed=build.rs");
|
|
}
|