mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-18 01:40:46 +00:00
9 lines
237 B
Rust
9 lines
237 B
Rust
use std::env;
|
|
|
|
pub fn main() {
|
|
if env::var("CARGO_FEATURE_RUSTC").is_err() {
|
|
println!("cargo:rustc-env=TARGET={}", env::var("TARGET").unwrap());
|
|
println!("cargo:rustc-env=HOST={}", env::var("HOST").unwrap());
|
|
}
|
|
}
|