ci: Disable rust-lld on Rust nightly

This commit is contained in:
TÖRÖK Attila 2024-05-20 23:00:07 +02:00
parent d8b8ffa4f3
commit 1b3701e1aa
1 changed files with 6 additions and 0 deletions

View File

@ -61,6 +61,12 @@ jobs:
sudo apt-get update
sudo apt install -y libasound2-dev libxcb-shape0-dev libxcb-xfixes0-dev libgtk-3-dev mesa-vulkan-drivers libpango1.0-dev libudev-dev
# Needed after: https://github.com/rust-lang/rust/pull/124129
# Based on: https://github.com/dtolnay/linkme/pull/88
- name: Disable rust-lld
if: matrix.rust_version == 'nightly'
run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zlinker-features=-lld >> $GITHUB_ENV
- name: Cache Cargo output
uses: Swatinem/rust-cache@v2
with: