From 8453c07a8e73861ed134f24364c3bc9fbc48e453 Mon Sep 17 00:00:00 2001 From: CGodiksen <36046286+CGodiksen@users.noreply.github.com> Date: Mon, 16 Mar 2026 11:11:50 +0100 Subject: [PATCH 1/2] Remove coverage from RUSTFLAGS in build_and_upload_binaries --- .github/workflows/build-lint-test-and-upload.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-lint-test-and-upload.yml b/.github/workflows/build-lint-test-and-upload.yml index 9793e0c9..a10fa029 100644 --- a/.github/workflows/build-lint-test-and-upload.yml +++ b/.github/workflows/build-lint-test-and-upload.yml @@ -135,6 +135,8 @@ jobs: name: Build and Upload Binaries needs: build_lint_and_test if: github.ref == 'refs/heads/main' + env: + RUSTFLAGS: -C strip=symbols -D warnings runs-on: ${{ matrix.operating-system }} strategy: From 64e8446597203359c660f2fbbe4ff743807c3076 Mon Sep 17 00:00:00 2001 From: CGodiksen <36046286+CGodiksen@users.noreply.github.com> Date: Mon, 16 Mar 2026 11:48:27 +0100 Subject: [PATCH 2/2] Only set coverage on build_lint_and_test --- .github/workflows/build-lint-test-and-upload.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-lint-test-and-upload.yml b/.github/workflows/build-lint-test-and-upload.yml index a10fa029..b7d73d6f 100644 --- a/.github/workflows/build-lint-test-and-upload.yml +++ b/.github/workflows/build-lint-test-and-upload.yml @@ -23,7 +23,7 @@ on: env: # General. CARGO_TERM_COLOR: always - RUSTFLAGS: -C instrument-coverage -C strip=symbols -D warnings + RUSTFLAGS: -C strip=symbols -D warnings RUSTDOCFLAGS: -D warnings LLVM_PROFILE_FILE: modelardb-%p-%m.profraw @@ -37,6 +37,8 @@ env: jobs: build_lint_and_test: name: Build, Lint, and Test + env: + RUSTFLAGS: -C instrument-coverage -C strip=symbols -D warnings runs-on: ${{ matrix.operating-system }} strategy: @@ -135,8 +137,6 @@ jobs: name: Build and Upload Binaries needs: build_lint_and_test if: github.ref == 'refs/heads/main' - env: - RUSTFLAGS: -C strip=symbols -D warnings runs-on: ${{ matrix.operating-system }} strategy: