Skip to content

Commit 35adadc

Browse files
committed
ci: Disable rust-lld on Rust nightly
1 parent f301b23 commit 35adadc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/test_rust.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ jobs:
6161
sudo apt-get update
6262
sudo apt install -y libasound2-dev libxcb-shape0-dev libxcb-xfixes0-dev libgtk-3-dev mesa-vulkan-drivers libpango1.0-dev libudev-dev
6363
64+
# Needed after: https://github.com/rust-lang/rust/pull/124129
65+
# Based on: https://github.com/dtolnay/linkme/pull/88
66+
- name: Disable rust-lld
67+
if: matrix.rust_version == 'nightly'
68+
run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zlinker-features=-lld >> $GITHUB_ENV
69+
6470
- name: Cache Cargo output
6571
uses: Swatinem/rust-cache@v2
6672
with:

0 commit comments

Comments
 (0)