Sign in
◑
Theme
rust
/
rust
/
caabc4b695e462dc11426eddbe8d8eb76db9a176
/
.
/
src
/
bootstrap
/
build.rs
blob: d9810e899a04386a58106daad29130ab582c3dd1 [
file
]
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}"
);
}