From d5bbbf7c8e2e73f661ba4a5f8600cce31cec2b78 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: