Skip to content

Commit

Permalink
Restore workaround with updated comment; sadly still needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoqun committed Oct 16, 2019
1 parent cef3e6e commit a82a494
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ fi

coverageFlags=(-Zprofile) # Enable coverage
coverageFlags+=("-Clink-dead-code") # Dead code should appear red in the report
coverageFlags+=("-Ccodegen-units=1") # Disable code generation parallelism which is unsupported under -Zprofile (see [rustc issue #51705]).
coverageFlags+=("-Cinline-threshold=0") # Disable inlining, which complicates control flow.
coverageFlags+=("-Coverflow-checks=off") # Disable overflow checks, which create unnecessary branches.

Expand Down

0 comments on commit a82a494

Please sign in to comment.