Skip to content

Commit

Permalink
Auto merge of rust-lang#2515 - RalfJung:build, r=RalfJung
Browse files Browse the repository at this point in the history
dont rerun build script unnecessarily
  • Loading branch information
bors committed Aug 27, 2022
2 parents 12907ab + d39b683 commit 74d99ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
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
// be accessed by miri.
let target = std::env::var("TARGET").unwrap();
Expand Down

0 comments on commit 74d99ab

Please sign in to comment.