Skip to content

Commit 6ebd8d6

Browse files
authored
Merge pull request #24 from RalfJung/lints
dont cap lints
2 parents 10ebcf6 + 7ffe3d4 commit 6ebd8d6

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/lib.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -186,13 +186,6 @@ impl<'a> SysrootBuilder<'a> {
186186
let default_flags = &[
187187
// This is usually set by bootstrap via `RUSTC_FORCE_UNSTABLE`.
188188
"-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",
196189
// We allow `unexpected_cfgs` as the sysroot has tons of custom `cfg` that rustc does not know about.
197190
"-Aunexpected_cfgs",
198191
];

0 commit comments

Comments
 (0)