File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -245,14 +245,17 @@ pub(crate) fn run_tests(
245
245
let run_extended_sysroot = config:: get_bool ( "testsuite.extended_sysroot" ) ;
246
246
247
247
if run_base_sysroot || run_extended_sysroot {
248
- let target_compiler = build_sysroot:: build_sysroot (
248
+ let mut target_compiler = build_sysroot:: build_sysroot (
249
249
dirs,
250
250
channel,
251
251
sysroot_kind,
252
252
cg_clif_dylib,
253
253
bootstrap_host_compiler,
254
254
target_triple. clone ( ) ,
255
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" ;
256
259
257
260
let runner = TestRunner :: new (
258
261
dirs. clone ( ) ,
You can’t perform that action at this time.
0 commit comments