2017-08-03 11:36:58 -07:00
|
|
|
use std::env;
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
// Forward the profile to the main compilation
|
|
|
|
println!("cargo:rustc-env=PROFILE={}", env::var("PROFILE").unwrap());
|
2017-08-09 18:05:34 +02:00
|
|
|
// Don't rebuild miri even if nothing changed
|
|
|
|
println!("cargo:rerun-if-changed=build.rs");
|
2017-08-03 11:36:58 -07:00
|
|
|
}
|