mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-21 04:58:42 +00:00
9 lines
217 B
Rust
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()
|
|
);
|
|
}
|