add comment to src/bootstrap/build.rs
This commit is contained in:
parent
70e2b4a4d1
commit
7760f8ec42
1 changed files with 1 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
use std::env;
|
||||
|
||||
fn main() {
|
||||
// this is needed because `HOST` is only available to build scripts.
|
||||
let host = env::var("HOST").unwrap();
|
||||
println!("cargo:rerun-if-changed=build.rs");
|
||||
println!("cargo:rustc-env=BUILD_TRIPLE={host}");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue