@@ -5,7 +5,6 @@ cargo_cache:
55env :
66 # Build by default; don't just check
77 BUILD : build
8- CLIPPYFLAGS : -D warnings
98 RUSTFLAGS : -D warnings
109 RUSTDOCFLAGS : -D warnings
1110 TOOL : cargo
@@ -19,7 +18,7 @@ build: &BUILD
1918 - . $HOME/.cargo/env || true
2019 - $TOOL +$TOOLCHAIN $BUILD $ZFLAGS --target $TARGET --all-targets
2120 - $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
2322
2423# Tests that do require executing the binaries
2524test : &TEST
@@ -224,9 +223,9 @@ task:
224223 env :
225224 TARGET : x86_64-unknown-redox
226225 # 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
230229 setup_script :
231230 - rustup target add $TARGET
232231 - rustup toolchain install $TOOLCHAIN --profile minimal --target $TARGET
@@ -240,16 +239,16 @@ task:
240239 image : rustlang/rust:nightly
241240 env :
242241 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
247242 TOOLCHAIN : nightly
248243 ZFLAGS : -Zbuild-std
249244 matrix :
250245 - name : DragonFly BSD x86_64
251246 env :
252247 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
253252 - name : OpenBSD x86_64
254253 env :
255254 TARGET : x86_64-unknown-openbsd
0 commit comments