@@ -256,6 +256,32 @@ task:
256256 << : *BUILD
257257 before_cache_script : rm -rf $CARGO_HOME/registry/index
258258
259+ # DragonflyBSD temporarily needs a pinned nightly toolchain
260+ # rustc is broken on DragonflyBSD as of Dec-5, probably by
261+ # https://github.com/rust-lang/rust/commit/e68887e67cc6b7bb4ea5113a40eaa4c0831bda13
262+ task :
263+ container :
264+ image : rust:1.46
265+ name : DragonFly BSD x86_64
266+ env :
267+ BUILD : check
268+ ZFLAGS : -Zbuild-std
269+ TARGET : x86_64-unknown-dragonfly
270+ # Redox requires a nightly compiler.
271+ # If stuff breaks, change nightly to the date at
272+ # https://gitlab.redox-os.org/redox-os/redox/-/blob/master/rust-toolchain
273+ TOOLCHAIN : nightly-2021-12-04
274+ # Temporarily allow deprecation on DragonflyBSD until an alternative is
275+ # available.
276+ # https://github.com/rust-lang/libc/pull/2522
277+ RUSTFLAGS : -D warnings -A deprecated
278+ setup_script :
279+ - rustup toolchain add $TOOLCHAIN --profile minimal
280+ - rustup component add rust-src --toolchain $TOOLCHAIN
281+ - rustup component add clippy --toolchain $TOOLCHAIN
282+ << : *BUILD
283+ before_cache_script : rm -rf $CARGO_HOME/registry/index
284+
259285# Rust Tier 3 targets can't use Rustup
260286task :
261287 container :
@@ -265,13 +291,6 @@ task:
265291 TOOLCHAIN : nightly
266292 ZFLAGS : -Zbuild-std
267293 matrix :
268- - name : DragonFly BSD x86_64
269- env :
270- TARGET : x86_64-unknown-dragonfly
271- # Temporarily allow deprecation on DragonflyBSD until an alternative is
272- # available.
273- # https://github.com/rust-lang/libc/pull/2522
274- RUSTFLAGS : -D warnings -A deprecated
275294 - name : OpenBSD x86_64
276295 env :
277296 TARGET : x86_64-unknown-openbsd
0 commit comments