Hide noisy specialization warnings for frozen abi (#13141) (#13143)

(cherry picked from commit 5caf81dbf8)

Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
This commit is contained in:
mergify[bot]
2020-10-26 05:11:12 +00:00
committed by GitHub
parent fd7bcfdb4d
commit f8e310d99d

View File

@ -19,6 +19,7 @@ else
fi
coverageFlags=(-Zprofile) # Enable coverage
coverageFlags+=("-Aincomplete_features") # Supress warnings due to frozen abi, which is harmless for it
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.