File tree Expand file tree Collapse file tree 3 files changed +4
-11
lines changed
src/tools/miri/cargo-miri Expand file tree Collapse file tree 3 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -193,9 +193,9 @@ checksum = "fc71d2faa173b74b232dedc235e3ee1696581bb132fc116fa3626d6151a1a8fb"
193193
194194[[package ]]
195195name = " rustc_tools_util"
196- version = " 0.2.1 "
196+ version = " 0.3.0 "
197197source = " registry+https://github.com/rust-lang/crates.io-index"
198- checksum = " 598f48ce2a421542b3e64828aa742b687cc1b91d2f96591cfdb7ac5988cd6366 "
198+ checksum = " 8ba09476327c4b70ccefb6180f046ef588c26a24cf5d269a9feba316eb4f029f "
199199
200200[[package ]]
201201name = " rustc_version"
Original file line number Diff line number Diff line change @@ -30,4 +30,4 @@ rustc-workspace-hack = "1.0.0"
3030serde = { version = " *" , features = [" derive" ] }
3131
3232[build-dependencies ]
33- rustc_tools_util = " 0.2 "
33+ rustc_tools_util = " 0.3 "
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments