mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-04 03:00:03 +00:00
Rough first attempt
This commit is contained in:
commit
d31364f5da
8 changed files with 2488 additions and 0 deletions
8
build.rs
Normal file
8
build.rs
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
// Fetch build target and define this for the compiler
|
||||
fn main() {
|
||||
println!(
|
||||
"cargo:rustc-env=TARGET={}",
|
||||
std::env::var("TARGET").unwrap()
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue