From 14a884e05767f06b84cf20ae5d75f633599bb5e5 Mon Sep 17 00:00:00 2001 From: xxchan Date: Sat, 11 Jul 2020 17:07:20 +0800 Subject: [PATCH] replace '-Cinline-threshold' with '-Copt-level=0' in CI --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0e65d3b66..31318d868 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -86,7 +86,7 @@ jobs: args: --all-features --no-fail-fast --workspace --exclude zircon-loader env: CARGO_INCREMENTAL: '0' - RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Coverflow-checks=off' + RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Copt-level=0 -Coverflow-checks=off' - name: Cache grcov uses: actions/cache@v1 with: