Skip to content

Commit 103a7ff

Browse files
committed
Auto merge of #12505 - weihanglo:beta-bump-cargo-util, r=ehuss
[beta-1.72.0] bump cargo-util to 0.2.5 #11442 changed `cargo-util` at the last minute but we failed to bump the version. And due to #12347, version bump check didn't work well at that time. In order to make CI pass, the following PRs are also cherry-picked: * #12450 * #12491
2 parents 44b6be4 + bc79751 commit 103a7ff

File tree

7 files changed

+8
-4
lines changed

7 files changed

+8
-4
lines changed

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ cargo-credential = { version = "0.2.0", path = "credential/cargo-credential" }
1919
cargo-platform = { path = "crates/cargo-platform", version = "0.1.3" }
2020
cargo-test-macro = { path = "crates/cargo-test-macro" }
2121
cargo-test-support = { path = "crates/cargo-test-support" }
22-
cargo-util = { version = "0.2.4", path = "crates/cargo-util" }
22+
cargo-util = { version = "0.2.5", path = "crates/cargo-util" }
2323
cargo_metadata = "0.14.0"
2424
clap = "4.2.0"
2525
core-foundation = { version = "0.9.0", features = ["mac_os_10_7_support"] }

crates/cargo-util/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cargo-util"
3-
version = "0.2.4"
3+
version = "0.2.5"
44
edition = "2021"
55
license = "MIT OR Apache-2.0"
66
homepage = "https://github.com/rust-lang/cargo"

tests/testsuite/cargo_features.rs

+1
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ fn allow_features_to_rustc() {
295295
.file(
296296
"src/lib.rs",
297297
r#"
298+
#![allow(internal_features)]
298299
#![feature(test_2018_feature)]
299300
"#,
300301
)

tests/testsuite/custom_target.rs

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ use cargo_test_support::{basic_manifest, project};
44
use std::fs;
55

66
const MINIMAL_LIB: &str = r#"
7+
#![allow(internal_features)]
78
#![feature(no_core)]
89
#![feature(lang_items)]
910
#![no_core]
@@ -80,6 +81,7 @@ fn custom_target_dependency() {
8081
.file(
8182
"src/lib.rs",
8283
r#"
84+
#![allow(internal_features)]
8385
#![feature(no_core)]
8486
#![feature(lang_items)]
8587
#![feature(auto_traits)]

tests/testsuite/doc.rs

+1
Original file line numberDiff line numberDiff line change
@@ -756,6 +756,7 @@ fn doc_target() {
756756
.file(
757757
"src/lib.rs",
758758
r#"
759+
#![allow(internal_features)]
759760
#![feature(no_core, lang_items)]
760761
#![no_core]
761762

tests/testsuite/future_incompat_report.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ fn test_multi_crate() {
164164
second-dep = "*"
165165
"#,
166166
)
167-
.file("src/main.rs", "fn main() {}")
167+
.file("src/lib.rs", "")
168168
.build();
169169

170170
for command in &["build", "check", "rustc", "test"] {

0 commit comments

Comments
 (0)