File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ cargo_cache:
5
5
env :
6
6
# Build by default; don't just check
7
7
BUILD : build
8
- CLIPPYFLAGS : -D warnings
9
8
RUSTFLAGS : -D warnings
10
9
RUSTDOCFLAGS : -D warnings
11
10
TOOL : cargo
@@ -19,7 +18,7 @@ build: &BUILD
19
18
- . $HOME/.cargo/env || true
20
19
- $TOOL +$TOOLCHAIN $BUILD $ZFLAGS --target $TARGET --all-targets
21
20
- $TOOL +$TOOLCHAIN doc $ZFLAGS --no-deps --target $TARGET
22
- - $TOOL +$TOOLCHAIN clippy $ZFLAGS --target $TARGET -- $CLIPPYFLAGS
21
+ - $TOOL +$TOOLCHAIN clippy $ZFLAGS --target $TARGET -- -D warnings
23
22
24
23
# Tests that do require executing the binaries
25
24
test : &TEST
@@ -240,10 +239,6 @@ task:
240
239
image : rustlang/rust:nightly
241
240
env :
242
241
BUILD : check
243
- # Must allow here rather than in lib.rs because this lint doesn't exist
244
- # prior to Rust 1.57.0
245
- # https://github.com/rust-lang/rust-clippy/issues/7718
246
- CLIPPYFLAGS : -D warnings -A clippy::if_then_panic
247
242
TOOLCHAIN : nightly
248
243
ZFLAGS : -Zbuild-std
249
244
matrix :
You can’t perform that action at this time.
0 commit comments