Don't build a broken/untested profiler runtime on mingw targets by Zalathar · Pull Request #122613 · rust-lang/rust (original) (raw)

OK, I think I see what's happening.

Because I removed //@ needs-profiler-runtime, this test is now running on jobs that weren't running it before, which is expected.

On x86_64-gnu-nopt, the lines expected by filecheck appear in the wrong order, so the check fails. They appear to be in the wrong order on other jobs as well, but this is masked by the presence of multiple CGUs, allowing filecheck to find and match the lines in order from different CGUs.

It should be fine to just change CHECK: to CHECK-DAG: so that filecheck will accept the lines in either order, because the order isn't actually significant.