cargo-binstall/crates/lib/build.rs
Félix Saparelli 4b00f5f143
Split crates and clean up structure of codebase (#294)
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-08-20 11:24:12 +00:00

7 lines
172 B
Rust

fn main() {
// Fetch build target and define this for the compiler
println!(
"cargo:rustc-env=TARGET={}",
std::env::var("TARGET").unwrap()
);
}