Skip to content

Commit 1828650

Browse files
authored
Rollup merge of #142714 - fee1-dead-contrib:push-roxtwrlvtzur, r=Kobzol
add comment to `src/bootstrap/build.rs` I attempted to remove this build script but it's apparently needed. Add a comment for why.
2 parents a96e64c + 7760f8e commit 1828650

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bootstrap/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
use std::env;
22

33
fn main() {
4+
// this is needed because `HOST` is only available to build scripts.
45
let host = env::var("HOST").unwrap();
56
println!("cargo:rerun-if-changed=build.rs");
67
println!("cargo:rustc-env=BUILD_TRIPLE={host}");

0 commit comments

Comments
 (0)