Skip to content

Commit 9a32db7

Browse files
committed
use setup_version_info!
1 parent 47aeaba commit 9a32db7

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/tools/miri/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)