Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@ jobs:
matrix:
rust: [nightly, beta, stable, 1.82.0, 1.70.0]
os: [ubuntu]
linker: ['']
include:
- name: Gold linker
os: ubuntu
rust: nightly
linker: gold
- name: macOS
os: macos
rust: nightly
Expand All @@ -50,9 +55,9 @@ jobs:
run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout >> $GITHUB_ENV
if: matrix.rust == 'nightly'
shell: bash
- name: Disable rust-lld
run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zlinker-features=-lld >> $GITHUB_ENV
if: matrix.rust == 'nightly'
- name: Select non-default linker
run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zlinker-features=-lld -Clink-arg=-fuse-ld=${{matrix.linker}} >> $GITHUB_ENV
if: matrix.linker
shell: bash
- name: Ignore Windows linker warning
run: echo RUSTFLAGS=${RUSTFLAGS}\ -Alinker_messages >> $GITHUB_ENV
Expand Down
Loading