File tree 2 files changed +2
-7
lines changed
2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -900,8 +900,8 @@ def build_bootstrap(self):
900
900
target_linker = self .get_toml ("linker" , build_section )
901
901
if target_linker is not None :
902
902
env ["RUSTFLAGS" ] += " -C linker=" + target_linker
903
- # cfg(bootstrap): Add `-Wsemicolon_in_expressions_from_macros` after the next beta bump
904
903
env ["RUSTFLAGS" ] += " -Wrust_2018_idioms -Wunused_lifetimes"
904
+ env ["RUSTFLAGS" ] += " -Wsemicolon_in_expressions_from_macros"
905
905
if self .get_toml ("deny-warnings" , "rust" ) != "false" :
906
906
env ["RUSTFLAGS" ] += " -Dwarnings"
907
907
Original file line number Diff line number Diff line change @@ -1270,12 +1270,7 @@ impl<'a> Builder<'a> {
1270
1270
// some code doesn't go through this `rustc` wrapper.
1271
1271
lint_flags. push ( "-Wrust_2018_idioms" ) ;
1272
1272
lint_flags. push ( "-Wunused_lifetimes" ) ;
1273
- // cfg(bootstrap): unconditionally enable this warning after the next beta bump
1274
- // This is currently disabled for the stage1 libstd, since build scripts
1275
- // will end up using the bootstrap compiler (which doesn't yet support this lint)
1276
- if compiler. stage != 0 && mode != Mode :: Std {
1277
- lint_flags. push ( "-Wsemicolon_in_expressions_from_macros" ) ;
1278
- }
1273
+ lint_flags. push ( "-Wsemicolon_in_expressions_from_macros" ) ;
1279
1274
1280
1275
if self . config . deny_warnings {
1281
1276
lint_flags. push ( "-Dwarnings" ) ;
You can’t perform that action at this time.
0 commit comments