Skip to content

Commit b437782

Browse files
committed
profiles: remove 'check' from stable access
1 parent a08a1a3 commit b437782

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/cargo/util/toml/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ impl TomlProfile {
468468

469469
// Feature gate definition of named profiles
470470
match name {
471-
"dev" | "release" | "bench" | "test" | "doc" | "check" => {}
471+
"dev" | "release" | "bench" | "test" | "doc" => {}
472472
_ => {
473473
features.require(Feature::named_profiles())?;
474474
}

tests/testsuite/profile_targets.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ fn all_target_project() -> Project {
2929
codegen-units = 3
3030
[profile.bench]
3131
codegen-units = 4
32-
[profile.check]
33-
codegen-units = 5
3432
"#,
3533
)
3634
.file("src/lib.rs", "extern crate bar;")

0 commit comments

Comments
 (0)