@@ -53,29 +53,33 @@ jobs:
5353 - rust : 1.86.0
5454 llvm-version : 19
5555 llvm-from : apt
56+ features : di-sanitizer,llvm-19,llvm-sys-19/force-dynamic
5657 exclude-features : default,llvm-20,llvm-21,rust-llvm-20,rust-llvm-21
5758 - rust : 1.89.0
5859 llvm-version : 20
5960 llvm-from : apt
61+ features : di-sanitizer,llvm-20,llvm-sys-20/force-dynamic
6062 exclude-features : default,llvm-19,llvm-21,rust-llvm-19,rust-llvm-21
6163 - rust : beta
6264 llvm-version : 21
6365 llvm-from : apt
66+ features : di-sanitizer,llvm-21,llvm-sys-21/force-dynamic
6467 exclude-features : default,llvm-19,llvm-20,rust-llvm-19,rust-llvm-20
6568 - rust : nightly
6669 llvm-version : 21
6770 llvm-from : apt
71+ features : di-sanitizer,llvm-21,llvm-sys-21/force-dynamic
6872 exclude-features : llvm-19,llvm-20,rust-llvm-19,rust-llvm-20
6973 - rust : nightly
7074 llvm-version : 21
7175 llvm-from : source
72- exclude-features : llvm-19,llvm-20,rust-llvm-19,rust-llvm-20
76+ features : llvm-21,llvm-sys-21/force-dynamic
77+ exclude-features : di-sanitizer,llvm-19,llvm-20,rust-llvm-19,rust-llvm-20
7378 name : rustc=${{ matrix.rust }} llvm-version=${{ matrix.llvm-version }} llvm-from=${{ matrix.llvm-from }}
7479 needs : llvm
7580
7681 env :
7782 RUST_BACKTRACE : full
78- LLVM_FEATURES : llvm-${{ matrix.llvm-version }},llvm-sys-${{ matrix.llvm-version }}/force-dynamic
7983
8084 steps :
8185 - uses : actions/checkout@v5
@@ -165,13 +169,13 @@ jobs:
165169 run : |
166170 cargo hack check --feature-powerset \
167171 --exclude-features ${{ matrix.exclude-features }} \
168- --features ${{ env.LLVM_FEATURES }}
172+ --features ${{ matrix.features }}
169173
170174 - name : Build
171175 run : |
172176 cargo hack build --feature-powerset \
173177 --exclude-features ${{ matrix.exclude-features }} \
174- --features ${{ env.LLVM_FEATURES }}
178+ --features ${{ matrix.features }}
175179
176180 # Toolchains provided by rustup include standard library artifacts
177181 # only for Tier 1 targets, which do not include BPF targets.
@@ -185,7 +189,7 @@ jobs:
185189 run : |
186190 RUSTC_BOOTSTRAP=1 cargo hack test --feature-powerset \
187191 --exclude-features ${{ matrix.exclude-features }} \
188- --features ${{ env.LLVM_FEATURES }}
192+ --features ${{ matrix.features }}
189193
190194 # To make things easier for package maintainers, the step of building a
191195 # custom sysroot can be skipped by setting the `BPFEL_SYSROOT_DIR`
@@ -209,18 +213,21 @@ jobs:
209213
210214 BPFEL_SYSROOT_DIR="$BPFEL_SYSROOT_DIR" cargo hack test --feature-powerset \
211215 --exclude-features ${{ matrix.exclude-features }} \
212- --features ${{ env.LLVM_FEATURES }}
216+ --features ${{ matrix.features }}
213217
214218 - uses : actions/checkout@v5
215219 if : matrix.rust == 'nightly'
216220 with :
217- repository : aya-rs/aya
221+ # FIXME: Switch to upstream after https://github.com/aya-rs/aya/pull/1382
222+ # is merged.
223+ repository : vadorovsky/aya
224+ ref : btf-sanitize-name
218225 path : aya
219226 submodules : recursive
220227
221228 - name : Install
222229 if : matrix.rust == 'nightly'
223- run : cargo install --path . --no-default-features --features ${{ env.LLVM_FEATURES }}
230+ run : cargo install --path . --no-default-features --features ${{ matrix.features }}
224231
225232 - name : Run aya integration tests
226233 if : matrix.rust == 'nightly'
0 commit comments