We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3315406 commit 8acf0c2Copy full SHA for 8acf0c2
build_system/tests.rs
@@ -259,7 +259,7 @@ pub(crate) fn run_tests(
259
let run_extended_sysroot = config::get_bool("testsuite.extended_sysroot");
260
261
if run_base_sysroot || run_extended_sysroot {
262
- let target_compiler = build_sysroot::build_sysroot(
+ let mut target_compiler = build_sysroot::build_sysroot(
263
dirs,
264
channel,
265
sysroot_kind,
@@ -268,6 +268,9 @@ pub(crate) fn run_tests(
268
rustup_toolchain_name,
269
target_triple.clone(),
270
);
271
+ // Rust's build system denies a couple of lints that trigger on several of the test
272
+ // projects. Changing the code to fix them is not worth it, so just silence all lints.
273
+ target_compiler.rustflags += " --cap-lints=allow";
274
275
let runner = TestRunner::new(
276
dirs.clone(),
0 commit comments