clippy: bump rustc_tools util version to 0.2

rustc_tools_util: fix typo in docs (readme)
This commit is contained in:
Matthias Krüger 2019-05-23 17:40:54 +02:00
parent c8443c1528
commit 68281ad0b2
3 changed files with 7 additions and 3 deletions

View File

@ -42,7 +42,7 @@ clippy_lints = { version = "0.0.212", path = "clippy_lints" }
# end automatic update
regex = "1"
semver = "0.9"
rustc_tools_util = { version = "0.1.1", path = "rustc_tools_util"}
rustc_tools_util = { version = "0.2.0", path = "rustc_tools_util"}
[dev-dependencies]
cargo_metadata = "0.7.1"
@ -58,7 +58,7 @@ derive-new = "0.5"
rustc-workspace-hack = "1.0.0"
[build-dependencies]
rustc_tools_util = { version = "0.1.1", path = "rustc_tools_util"}
rustc_tools_util = { version = "0.2.0", path = "rustc_tools_util"}
[features]
debugging = []

View File

@ -12,4 +12,8 @@ fn main() {
"cargo:rustc-env=COMMIT_DATE={}",
rustc_tools_util::get_commit_date().unwrap_or_default()
);
println!(
"cargo:rustc-env=RUSTC_RELEASE_CHANNEL={}",
rustc_tools_util::get_channel().unwrap_or_default()
);
}

View File

@ -32,7 +32,7 @@ fn main() {
);
println!(
"cargo:rustc-env=RUSTC_RELEASE_CHANNEL={}",
rustc_tools_util::get_channel_from_compiler_output().unwrap_or_default()
rustc_tools_util::get_channel().unwrap_or_default()
);
}