mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-06 20:58:28 +00:00
13 lines
447 B
Rust
13 lines
447 B
Rust
fn main() {
|
|
println!("cargo:rerun-if-changed=../../ignores.txt");
|
|
if let Ok(os) = std::env::var("CARGO_CFG_TARGET_OS") {
|
|
println!("cargo:rustc-env=CFG_TARGET_OS={}", os);
|
|
}
|
|
if let Ok(os) = std::env::var("CARGO_CFG_TARGET_ARCH") {
|
|
println!("cargo:rustc-env=CFG_TARGET_ARCH={}", os);
|
|
}
|
|
if let Ok(os) = std::env::var("CARGO_CFG_TARGET_ENV") {
|
|
println!("cargo:rustc-env=CFG_TARGET_ENV={}", os);
|
|
}
|
|
}
|