We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7558fcc commit b99d22fCopy full SHA for b99d22f
build.rs
@@ -6,8 +6,8 @@ use std::path;
6
fn main() {
7
println!("cargo:rerun-if-changed=build.rs");
8
9
- // env::ARCH doesn't include full triplet, and AFAIK there isn't a nicer way of getting the full triplet
10
- // (see lib.rs for the rest of this hack)
+ // env::ARCH doesn't include the full triplet, and as far as I know there isn't a cleaner way of getting the full triplet
+ // (see cargo.rs for the rest of this implementation)
11
let out = path::PathBuf::from(env::var_os("OUT_DIR").expect("run within cargo"))
12
.join("current_target.txt");
13
let default_target = env::var("TARGET").expect("run as cargo build script");
0 commit comments