clippy.sh: build for BPF after everything else

In cases where I run `./clippy.sh ... -p <crate>` I really want the
results for that crate to come quickly.
reviewable/pr1369/r29
Tamir Duberstein 1 week ago
parent 57a75dfd61
commit 4ce1e29804
No known key found for this signature in database

@ -2,15 +2,6 @@
set -eux
cargo +nightly hack clippy \
--target bpfel-unknown-none -Zbuild-std=core \
--package aya-ebpf-bindings \
--package aya-ebpf \
--package aya-log-ebpf \
--package integration-ebpf \
--feature-powerset \
-- --deny warnings
# `-C panic=abort` because "unwinding panics are not supported without std"; integration-ebpf
# contains `#[no_std]` binaries.
#
@ -26,3 +17,12 @@ cargo +nightly hack clippy "$@" \
-- --deny warnings \
-C panic=abort \
-Zpanic_abort_tests
cargo +nightly hack clippy \
--target bpfel-unknown-none -Zbuild-std=core \
--package aya-ebpf-bindings \
--package aya-ebpf \
--package aya-log-ebpf \
--package integration-ebpf \
--feature-powerset \
-- --deny warnings

Loading…
Cancel
Save