Thanks to visit codestin.com
Credit goes to chromium.googlesource.com

blob: d9810e899a04386a58106daad29130ab582c3dd1 [file] [log] [blame]
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}");
}