clippy: lint all bpf target archs

reviewable/pr1376/r11
Tamir Duberstein 3 days ago
parent f610453ec2
commit a18e283e2a
No known key found for this signature in database

@ -18,11 +18,17 @@ cargo +nightly hack clippy "$@" \
-C panic=abort \ -C panic=abort \
-Zpanic_abort_tests -Zpanic_abort_tests
cargo +nightly hack clippy \
--target bpfel-unknown-none -Zbuild-std=core \ for arch in aarch64 arm loongarch64 mips powerpc64 riscv64 s390x x86_64; do
--package aya-ebpf-bindings \ for target in bpfeb-unknown-none bpfel-unknown-none; do
--package aya-ebpf \ CARGO_CFG_BPF_TARGET_ARCH="$arch" cargo +nightly hack clippy \
--package aya-log-ebpf \ --target "$target" \
--package integration-ebpf \ -Zbuild-std=core \
--feature-powerset \ --package aya-ebpf-bindings \
-- --deny warnings --package aya-ebpf \
--package aya-log-ebpf \
--package integration-ebpf \
--feature-powerset \
-- --deny warnings
done
done

Loading…
Cancel
Save