Hide noisy specialization warnings for frozen abi (#13141)

This commit is contained in:
Ryo Onodera
2020-10-26 13:02:58 +09:00
committed by GitHub
parent 66c7a98009
commit 5caf81dbf8

View File

@ -19,6 +19,7 @@ else
fi fi
coverageFlags=(-Zprofile) # Enable coverage 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+=("-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+=("-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+=("-Cinline-threshold=0") # Disable inlining, which complicates control flow.