File tree 2 files changed +10
-4
lines changed
2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -69,13 +69,13 @@ matrix:
69
69
if : repo =~ /^rust-lang\/rust-clippy$/ AND branch IN (auto, try)
70
70
- env : INTEGRATION=bluss/rust-itertools
71
71
if : repo =~ /^rust-lang\/rust-clippy$/ AND branch IN (auto, try)
72
- - env : INTEGRATION=serde-rs/serde
72
+ - env : INTEGRATION=serde-rs/serde MANIFEST_PATH=serde/Cargo.toml
73
73
if : repo =~ /^rust-lang\/rust-clippy$/ AND branch IN (auto, try)
74
- - env : INTEGRATION=rust-lang-nursery/stdsimd
74
+ - env : INTEGRATION=rust-lang-nursery/stdsimd MANIFEST_PATH=crates/core_arch/Cargo.toml
75
75
if : repo =~ /^rust-lang\/rust-clippy$/ AND branch IN (auto, try)
76
76
- env : INTEGRATION=rust-random/rand
77
77
if : repo =~ /^rust-lang\/rust-clippy$/ AND branch IN (auto, try)
78
- - env : INTEGRATION=rust-lang-nursery/futures-rs
78
+ - env : INTEGRATION=rust-lang-nursery/futures-rs MANIFEST_PATH=futures/Cargo.toml
79
79
if : repo =~ /^rust-lang\/rust-clippy$/ AND branch IN (auto, try)
80
80
- env : INTEGRATION=Marwes/combine
81
81
if : repo =~ /^rust-lang\/rust-clippy$/ AND branch IN (auto, try)
Original file line number Diff line number Diff line change @@ -16,12 +16,18 @@ echo "Running integration test for crate ${INTEGRATION}"
16
16
git clone --depth=1 " https://github.com/${INTEGRATION} .git" checkout
17
17
cd checkout
18
18
19
+ MANIFEST_OPTS=()
20
+ if [[ -n " $MANIFEST_PATH " ]]; then
21
+ MANIFEST_OPTS=(" --manifest-path=$MANIFEST_PATH " )
22
+ fi
23
+
19
24
# run clippy on a project, try to be verbose and trigger as many warnings
20
25
# as possible for greater coverage
21
26
RUST_BACKTRACE=full \
22
27
cargo clippy \
23
28
--all-targets \
24
29
--all-features \
30
+ " ${MANIFEST_OPTS[@]} " \
25
31
-- \
26
32
--cap-lints warn \
27
33
-W clippy::pedantic \
@@ -30,6 +36,6 @@ cargo clippy \
30
36
31
37
cat clippy_output
32
38
33
- if grep -q " internal compiler error\|query stack during panic\|E0463" clippy_output; then
39
+ if grep -q " internal compiler error\|query stack during panic\|E0463\|--all-features is not allowed " clippy_output; then
34
40
exit 1
35
41
fi
You can’t perform that action at this time.
0 commit comments