Skip to content

Commit 68281ad

Browse files
committed
clippy: bump rustc_tools util version to 0.2
rustc_tools_util: fix typo in docs (readme)
1 parent c8443c1 commit 68281ad

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

Diff for: Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ clippy_lints = { version = "0.0.212", path = "clippy_lints" }
4242
# end automatic update
4343
regex = "1"
4444
semver = "0.9"
45-
rustc_tools_util = { version = "0.1.1", path = "rustc_tools_util"}
45+
rustc_tools_util = { version = "0.2.0", path = "rustc_tools_util"}
4646

4747
[dev-dependencies]
4848
cargo_metadata = "0.7.1"
@@ -58,7 +58,7 @@ derive-new = "0.5"
5858
rustc-workspace-hack = "1.0.0"
5959

6060
[build-dependencies]
61-
rustc_tools_util = { version = "0.1.1", path = "rustc_tools_util"}
61+
rustc_tools_util = { version = "0.2.0", path = "rustc_tools_util"}
6262

6363
[features]
6464
debugging = []

Diff for: build.rs

+4
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,8 @@ fn main() {
1212
"cargo:rustc-env=COMMIT_DATE={}",
1313
rustc_tools_util::get_commit_date().unwrap_or_default()
1414
);
15+
println!(
16+
"cargo:rustc-env=RUSTC_RELEASE_CHANNEL={}",
17+
rustc_tools_util::get_channel().unwrap_or_default()
18+
);
1519
}

Diff for: rustc_tools_util/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ fn main() {
3232
);
3333
println!(
3434
"cargo:rustc-env=RUSTC_RELEASE_CHANNEL={}",
35-
rustc_tools_util::get_channel_from_compiler_output().unwrap_or_default()
35+
rustc_tools_util::get_channel().unwrap_or_default()
3636
);
3737
}
3838

0 commit comments

Comments
 (0)