From a01b1d8b76d1ea4a0229edf595ebe1473a33636b Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Mon, 18 Aug 2025 11:54:53 -0400 Subject: [PATCH] .github: build bpf-linker with llvm-21 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f4683dd5..2cf076a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -170,7 +170,7 @@ jobs: - uses: Swatinem/rust-cache@v2 - - run: cargo install --git https://github.com/aya-rs/bpf-linker.git bpf-linker + - run: cargo install --git https://github.com/aya-rs/bpf-linker.git bpf-linker --features llvm-21 - uses: taiki-e/install-action@cargo-hack @@ -297,7 +297,7 @@ jobs: # --force so that bpf-linker gets always relinked against the latest LLVM downloaded above. # # Do this on all system (not just macOS) to avoid relying on rustc-provided libLLVM.so. - - run: cargo install --git https://github.com/aya-rs/bpf-linker.git bpf-linker --no-default-features --force + - run: cargo install --git https://github.com/aya-rs/bpf-linker.git bpf-linker --no-default-features --features llvm-21 --force - uses: actions/cache@v4 with: