dont rerun build script unnecessarily
This commit is contained in:
parent
bb8212484f
commit
d39b683053
2
build.rs
2
build.rs
@ -1,4 +1,6 @@
|
|||||||
fn main() {
|
fn main() {
|
||||||
|
// Don't rebuild miri when nothing changed.
|
||||||
|
println!("cargo:rerun-if-changed=build.rs");
|
||||||
// Re-export the TARGET environment variable so it can
|
// Re-export the TARGET environment variable so it can
|
||||||
// be accessed by miri.
|
// be accessed by miri.
|
||||||
let target = std::env::var("TARGET").unwrap();
|
let target = std::env::var("TARGET").unwrap();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user