Skip to content

Commit 101a4d1

Browse files
committed
Auto merge of #2799 - klensy:dep-up, r=RalfJung
cargo-miri: bump `rustc_tools_util` crate This dedupes crate versions in rust repo.
2 parents 140dd98 + b8172ce commit 101a4d1

File tree

3 files changed

+4
-11
lines changed

3 files changed

+4
-11
lines changed

cargo-miri/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cargo-miri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ rustc-workspace-hack = "1.0.0"
3030
serde = { version = "*", features = ["derive"] }
3131

3232
[build-dependencies]
33-
rustc_tools_util = "0.2"
33+
rustc_tools_util = "0.3"

cargo-miri/build.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,5 @@ fn main() {
22
// Don't rebuild miri when nothing changed.
33
println!("cargo:rerun-if-changed=build.rs");
44
// gather version info
5-
println!(
6-
"cargo:rustc-env=GIT_HASH={}",
7-
rustc_tools_util::get_commit_hash().unwrap_or_default()
8-
);
9-
println!(
10-
"cargo:rustc-env=COMMIT_DATE={}",
11-
rustc_tools_util::get_commit_date().unwrap_or_default()
12-
);
5+
rustc_tools_util::setup_version_info!();
136
}

0 commit comments

Comments
 (0)