Skip to content

Commit 74d99ab

Browse files
committed
Auto merge of #2515 - RalfJung:build, r=RalfJung
dont rerun build script unnecessarily
2 parents 12907ab + d39b683 commit 74d99ab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
fn main() {
2+
// Don't rebuild miri when nothing changed.
3+
println!("cargo:rerun-if-changed=build.rs");
24
// Re-export the TARGET environment variable so it can
35
// be accessed by miri.
46
let target = std::env::var("TARGET").unwrap();

0 commit comments

Comments
 (0)