Skip to content

Commit 1268445

Browse files
committed
remove Kind check for symbol_intern_string_literal
Signed-off-by: onur-ozkan <[email protected]>
1 parent f11edf7 commit 1268445

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Diff for: src/bootstrap/src/core/builder/cargo.rs

+1-6
Original file line numberDiff line numberDiff line change
@@ -1035,12 +1035,7 @@ impl Builder<'_> {
10351035
rustflags.arg("-Wrustc::internal");
10361036
// cfg(bootstrap) - remove this check when lint is in bootstrap compiler
10371037
if stage != 0 {
1038-
// Lint is allow by default so downstream tools don't get a lit
1039-
// they can do nothing about
1040-
// We shouldn't be preinterning symbols used by tests
1041-
if cmd_kind != Kind::Test {
1042-
rustflags.arg("-Drustc::symbol_intern_string_literal");
1043-
}
1038+
rustflags.arg("-Drustc::symbol_intern_string_literal");
10441039
}
10451040
// FIXME(edition_2024): Change this to `-Wrust_2024_idioms` when all
10461041
// of the individual lints are satisfied.

0 commit comments

Comments
 (0)