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 @@ -1590,6 +1590,15 @@ impl Step for Coverage {
15901590 let compiler = run. builder . compiler ( run. builder . top_stage , run. build_triple ( ) ) ;
15911591 let target = run. target ;
15921592
1593+ // GCC cannot run coverage tests.
1594+ if let Some ( codegen_backend) = run. builder . config . cmd . test_codegen_backend ( ) {
1595+ if codegen_backend. is_gcc ( ) {
1596+ return ;
1597+ }
1598+ } else if run. builder . config . default_codegen_backend ( compiler. host ) . is_gcc ( ) {
1599+ return ;
1600+ }
1601+
15931602 // List of (coverage) test modes that the coverage test suite will be
15941603 // run in. It's OK for this to contain duplicates, because the call to
15951604 // `Builder::ensure` below will take care of deduplication.
You can’t perform that action at this time.
0 commit comments