@@ -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
@@ -224,9 +223,9 @@ task:
224
223
env :
225
224
TARGET : x86_64-unknown-redox
226
225
# Redox requires a nightly compiler.
227
- # If stuff breaks, change nightly to the date in the toolchain_*
228
- # directory at https://static .redox-os.org
229
- TOOLCHAIN : nightly-2020-08-04
226
+ # If stuff breaks, change nightly to the date at
227
+ # https://gitlab .redox-os.org/redox-os/redox/-/blob/master/rust-toolchain
228
+ TOOLCHAIN : nightly-2021-06-15
230
229
setup_script :
231
230
- rustup target add $TARGET
232
231
- rustup toolchain install $TOOLCHAIN --profile minimal --target $TARGET
@@ -240,16 +239,16 @@ 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 :
250
245
- name : DragonFly BSD x86_64
251
246
env :
252
247
TARGET : x86_64-unknown-dragonfly
248
+ # Temporarily allow deprecation on DragonflyBSD until an alternative is
249
+ # available.
250
+ # https://github.com/rust-lang/libc/pull/2522
251
+ RUSTFLAGS : -D warnings -A deprecated
253
252
- name : OpenBSD x86_64
254
253
env :
255
254
TARGET : x86_64-unknown-openbsd
0 commit comments