File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change 2
2
3
3
set -eux
4
4
5
- # We cannot run clippy over the whole workspace at once due to feature unification. Since both
6
- # integration-test and integration-ebpf depend on integration-common and integration-test activates
7
- # integration-common's aya dependency, we end up trying to compile the panic handler twice: once
8
- # from the bpf program, and again from std via aya.
9
- #
10
- # `-C panic=abort` because "unwinding panics are not supported without std"; integration-ebpf
11
- # contains `#[no_std]` binaries.
12
- #
13
- # `-Zpanic_abort_tests` because "building tests with panic=abort is not supported without
14
- # `-Zpanic_abort_tests`"; Cargo does this automatically when panic=abort is set via profile but we
15
- # want to preserve unwinding at runtime - here we are just running clippy so we don't care about
16
- # unwinding behavior.
17
- #
18
- # `+nightly` because "the option `Z` is only accepted on the nightly compiler".
19
- cargo +nightly hack clippy " $@ " --exclude integration-ebpf --all-targets --feature-powerset --workspace -- --deny warnings
20
- cargo +nightly hack clippy " $@ " --package integration-ebpf --all-targets --feature-powerset -- --deny warnings -C panic=abort -Zpanic_abort_tests
5
+ cargo +nightly hack clippy " $@ " --all-targets --feature-powerset --workspace -- --deny warnings
You can’t perform that action at this time.
0 commit comments