Skip to content

Commit 10c2a3b

Browse files
bors[bot]asomers
andauthored
Merge #1591
1591: Fix CI r=asomers a=asomers * Update Redox compiler * Fix "unknown lint clippy::if_then_panic" Co-authored-by: Alan Somers <asomers@gmail.com>
2 parents 57d4c86 + 0df82de commit 10c2a3b

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.cirrus.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ cargo_cache:
55
env:
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
2524
test: &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

Comments
 (0)