@@ -256,6 +256,32 @@ task:
256
256
<< : *BUILD
257
257
before_cache_script : rm -rf $CARGO_HOME/registry/index
258
258
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
+
259
285
# Rust Tier 3 targets can't use Rustup
260
286
task :
261
287
container :
@@ -265,13 +291,6 @@ task:
265
291
TOOLCHAIN : nightly
266
292
ZFLAGS : -Zbuild-std
267
293
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
275
294
- name : OpenBSD x86_64
276
295
env :
277
296
TARGET : x86_64-unknown-openbsd
0 commit comments