Skip to content

Commit

Permalink
Fix comment: coverage-map tests compile to LLVM IR, not MIR
Browse files Browse the repository at this point in the history
  • Loading branch information
Zalathar committed Oct 23, 2023
1 parent f83f796 commit 71b7322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/compiletest/src/runtest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2470,7 +2470,7 @@ impl<'test> TestCx<'test> {
}
CoverageMap => {
rustc.arg("-Cinstrument-coverage");
// These tests only compile to MIR, so they don't need the
// These tests only compile to LLVM IR, so they don't need the
// profiler runtime to be present.
rustc.arg("-Zno-profiler-runtime");
// Coverage mappings are sensitive to MIR optimizations, and
Expand Down

0 comments on commit 71b7322

Please sign in to comment.