We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d16ba45 commit 521d937Copy full SHA for 521d937
build_system/tests.rs
@@ -245,14 +245,17 @@ pub(crate) fn run_tests(
245
let run_extended_sysroot = config::get_bool("testsuite.extended_sysroot");
246
247
if run_base_sysroot || run_extended_sysroot {
248
- let target_compiler = build_sysroot::build_sysroot(
+ let mut target_compiler = build_sysroot::build_sysroot(
249
dirs,
250
channel,
251
sysroot_kind,
252
cg_clif_dylib,
253
bootstrap_host_compiler,
254
target_triple.clone(),
255
);
256
+ // Rust's build system denies a couple of lints that trigger on several of the test
257
+ // projects. Changing the code to fix them is not worth it, so just silence all lints.
258
+ target_compiler.rustflags += " --cap-lints=allow";
259
260
let runner = TestRunner::new(
261
dirs.clone(),
0 commit comments