We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47aeaba commit 9a32db7Copy full SHA for 9a32db7
src/tools/miri/cargo-miri/build.rs
@@ -2,12 +2,5 @@ fn main() {
2
// Don't rebuild miri when nothing changed.
3
println!("cargo:rerun-if-changed=build.rs");
4
// gather version info
5
- println!(
6
- "cargo:rustc-env=GIT_HASH={}",
7
- rustc_tools_util::get_commit_hash().unwrap_or_default()
8
- );
9
10
- "cargo:rustc-env=COMMIT_DATE={}",
11
- rustc_tools_util::get_commit_date().unwrap_or_default()
12
+ rustc_tools_util::setup_version_info!();
13
}
0 commit comments