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.
2 parents a96e64c + 7760f8e commit 1828650Copy full SHA for 1828650
src/bootstrap/build.rs
@@ -1,6 +1,7 @@
1
use std::env;
2
3
fn main() {
4
+ // this is needed because `HOST` is only available to build scripts.
5
let host = env::var("HOST").unwrap();
6
println!("cargo:rerun-if-changed=build.rs");
7
println!("cargo:rustc-env=BUILD_TRIPLE={host}");
0 commit comments