cargo-binstall/build.rs
2022-07-24 00:39:54 +12:00

9 lines
217 B
Rust

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