File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
src/bootstrap/src/core/build_steps Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -1573,6 +1573,15 @@ impl Step for Coverage {
15731573 let compiler = run. builder . compiler ( run. builder . top_stage , run. build_triple ( ) ) ;
15741574 let target = run. target ;
15751575
1576+ // GCC cannot run coverage tests.
1577+ if let Some ( codegen_backend) = run. builder . config . cmd . test_codegen_backend ( ) {
1578+ if codegen_backend. is_gcc ( ) {
1579+ return ;
1580+ }
1581+ } else if run. builder . config . default_codegen_backend ( compiler. host ) . is_gcc ( ) {
1582+ return ;
1583+ }
1584+
15761585 // List of (coverage) test modes that the coverage test suite will be
15771586 // run in. It's OK for this to contain duplicates, because the call to
15781587 // `Builder::ensure` below will take care of deduplication.
You can’t perform that action at this time.
0 commit comments