File tree 1 file changed +0
-7
lines changed 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -186,13 +186,6 @@ impl<'a> SysrootBuilder<'a> {
186
186
let default_flags = & [
187
187
// This is usually set by bootstrap via `RUSTC_FORCE_UNSTABLE`.
188
188
"-Zforce-unstable-if-unmarked" ,
189
- // Don't fail when there are lints.
190
- // The whole point of this crate is to build the standard library in nonstandard
191
- // configurations, which may trip lints due to untested combinations of cfgs.
192
- // This matches what cargo does for dependencies.
193
- // We cannot set `--cap-lints=allow` because Cargo needs to parse warnings to understand the
194
- // output of --print=file-names for crate-types that the target does not support.
195
- "--cap-lints=warn" ,
196
189
// We allow `unexpected_cfgs` as the sysroot has tons of custom `cfg` that rustc does not know about.
197
190
"-Aunexpected_cfgs" ,
198
191
] ;
You can’t perform that action at this time.
0 commit comments