Skip to content

Commit

Permalink
Fix some tests to use -Cinstrument-coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleywiser committed Feb 4, 2022
1 parent 6593fcd commit 3187f41
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
10| 1|}

../coverage/lib/inline_always_with_dead_code.rs:
1| |// compile-flags: -Zinstrument-coverage -Ccodegen-units=4 -Copt-level=0
1| |// compile-flags: -Cinstrument-coverage -Ccodegen-units=4 -Copt-level=0
2| |
3| |#![allow(dead_code)]
4| |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// compile-flags: -Zinstrument-coverage -Ccodegen-units=4 -Copt-level=0
// compile-flags: -Cinstrument-coverage -Ccodegen-units=4 -Copt-level=0

#![allow(dead_code)]

Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/issues/issue-85461.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// compile-flags: -Zinstrument-coverage -Ccodegen-units=4 --crate-type dylib -Copt-level=0
// compile-flags: -Cinstrument-coverage -Ccodegen-units=4 --crate-type dylib -Copt-level=0
// build-pass
// needs-profiler-support

Expand Down

0 comments on commit 3187f41

Please sign in to comment.