diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index e3d28de9da..a9edafe991 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -105,7 +105,7 @@ jobs: - name: Setup Variables shell: bash run: | - echo "RUSTFLAGS=-C opt-level=3 -D warnings -C instrument-coverage" >> $GITHUB_ENV + echo "RUSTFLAGS=-C opt-level=3 -D warnings -C instrument-coverage -C linker=clang -C link-arg=-fuse-ld=$(pwd)/mold/bin/mold" >> $GITHUB_ENV # Disable coverage when building echo "LLVM_PROFILE_FILE=/dev/null" >> $GITHUB_ENV - name: Setup grcov