runa/crates/runa-code/build.rs

5 lines
159 B
Rust

fn main() {
let target = std::env::var("TARGET").expect("Cargo provides the target triple");
println!("cargo:rustc-env=RUNA_BUILD_TARGET={target}");
}