From 1b3701e1aa17c46be9b077ecade6ae9d6e975af1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=96R=C3=96K=20Attila?= Date: Mon, 20 May 2024 23:00:07 +0200 Subject: [PATCH] ci: Disable rust-lld on Rust nightly --- .github/workflows/test_rust.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test_rust.yml b/.github/workflows/test_rust.yml index de948a565331..70633e29643d 100644 --- a/.github/workflows/test_rust.yml +++ b/.github/workflows/test_rust.yml @@ -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: