mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-17 01:28:44 +00:00
10 lines
322 B
Rust
10 lines
322 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);
|
|
}
|
|
}
|