From f8e310d99dd6dc60f65978599a4da8e3427f8828 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Mon, 26 Oct 2020 05:11:12 +0000 Subject: [PATCH] Hide noisy specialization warnings for frozen abi (#13141) (#13143) (cherry picked from commit 5caf81dbf85b21ec737a884b34210af1655a7c3e) Co-authored-by: Ryo Onodera --- scripts/coverage.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/coverage.sh b/scripts/coverage.sh index c1bfe0e8f1..466d54c2b2 100755 --- a/scripts/coverage.sh +++ b/scripts/coverage.sh @@ -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.