Move deny(warnings) into rustbuild
This permits easier iteration without having to worry about warnings being denied. Fixes #49517
This commit is contained in:
parent
b7da1aaff6
commit
c115cc655c
56 changed files with 26 additions and 63 deletions
|
@ -227,10 +227,6 @@
|
|||
// Tell the compiler to link to either panic_abort or panic_unwind
|
||||
#![needs_panic_runtime]
|
||||
|
||||
// Turn warnings into errors, but only after stage0, where it can be useful for
|
||||
// code to emit warnings during language transitions
|
||||
#![cfg_attr(not(stage0), deny(warnings))]
|
||||
|
||||
// std may use features in a platform-specific way
|
||||
#![allow(unused_features)]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue