mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-16 22:18:40 +00:00
clippy: bump rustc_tools util version to 0.2
rustc_tools_util: fix typo in docs (readme)
This commit is contained in:
parent
c8443c1528
commit
68281ad0b2
3 changed files with 7 additions and 3 deletions
|
@ -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 = []
|
||||
|
|
4
build.rs
4
build.rs
|
@ -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()
|
||||
);
|
||||
}
|
||||
|
|
|
@ -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()
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue