@@ -187,15 +187,13 @@ jobs:
187187 #
188188 # `RUSTC_BOOTSTRAP` is needed to use `rustc-build-sysroot` on stable Rust.
189189 - name : Test (sysroot built on demand)
190- env :
191- RUSTC_BOOTSTRAP : 1
192190 run : |
193- cargo hack test --feature-powerset \
191+ RUSTC_BOOTSTRAP=1 cargo hack test --feature-powerset \
194192 --exclude-features ${{ matrix.exclude-features }} \
195- --features ${{ env.LLVM_FEATURES }},rustc-build-sysroot
193+ --features ${{ env.LLVM_FEATURES }}
196194
197195 # To make things easier for package maintainers, the step of building a
198- # custom sysroot can be skipped by setting the `BPF_SYSROOT_SKIP `
196+ # custom sysroot can be skipped by setting the `BPFEL_SYSROOT_DIR `
199197 # environment variable to the path of the prebuilt BPF sysroot.
200198 #
201199 # Test this configuration by prebuilding the BPF standard library
@@ -214,10 +212,8 @@ jobs:
214212 --sysroot-dir "$BPFEL_SYSROOT_DIR" \
215213 --target bpfel-unknown-none
216214
217- # Omit `rustc-build-sysroot` feature to test the prebuilt sysroot.
218- # Omit `default` because it includes `rustc-build-sysroot`.
219215 BPFEL_SYSROOT_DIR="$BPFEL_SYSROOT_DIR" cargo hack test --feature-powerset \
220- --exclude-features ${{ matrix.exclude-features }},default,rustc-build-sysroot \
216+ --exclude-features ${{ matrix.exclude-features }} \
221217 --features ${{ env.LLVM_FEATURES }}
222218
223219 - uses : actions/checkout@v5
0 commit comments