2022-08-25 19:47:23 -05:00
|
|
|
fn main() {
|
2022-08-27 15:08:05 -05:00
|
|
|
// Don't rebuild miri when nothing changed.
|
|
|
|
println!("cargo:rerun-if-changed=build.rs");
|
2022-08-25 19:47:23 -05:00
|
|
|
// Re-export the TARGET environment variable so it can
|
|
|
|
// be accessed by miri.
|
|
|
|
let target = std::env::var("TARGET").unwrap();
|
2022-08-26 16:38:59 -05:00
|
|
|
println!("cargo:rustc-env=TARGET={}", target);
|
2022-08-25 19:47:23 -05:00
|
|
|
}
|