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 {
1573
1573
let compiler = run. builder . compiler ( run. builder . top_stage , run. build_triple ( ) ) ;
1574
1574
let target = run. target ;
1575
1575
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
+
1576
1585
// List of (coverage) test modes that the coverage test suite will be
1577
1586
// run in. It's OK for this to contain duplicates, because the call to
1578
1587
// `Builder::ensure` below will take care of deduplication.
You can’t perform that action at this time.
0 commit comments