Skip to content

Commit 23f18df

Browse files
committed
Pin nightly compiler used in CI for uclibc
Workaround for rust-lang/rust#95866
1 parent 145c240 commit 23f18df

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

.cirrus.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,14 +286,29 @@ task:
286286
- name: OpenBSD x86_64
287287
env:
288288
TARGET: x86_64-unknown-openbsd
289-
- name: Linux armv7 uclibceabihf
290-
env:
291-
TARGET: armv7-unknown-linux-uclibceabihf
292289
setup_script:
293290
- rustup component add rust-src
294291
<< : *BUILD
295292
before_cache_script: rm -rf $CARGO_HOME/registry/index
296293

294+
# uclibc needs its own task for now, due to Rust bug 95866
295+
# https://github.com/rust-lang/rust/issues/95866
296+
task:
297+
name: Linux armv7 uclibceabihf
298+
container:
299+
image: rustlang/rust:nightly
300+
env:
301+
BUILD: check
302+
ZFLAGS: -Zbuild-std
303+
TARGET: armv7-unknown-linux-uclibceabihf
304+
TOOLCHAIN: nightly-2022-04-01
305+
setup_script:
306+
- rustup toolchain install $TOOLCHAIN --profile minimal
307+
- rustup component add --toolchain $TOOLCHAIN rust-src
308+
- rustup component add --toolchain $TOOLCHAIN clippy
309+
<< : *BUILD
310+
before_cache_script: rm -rf $CARGO_HOME/registry/index
311+
297312
# Test that we can build with the lowest version of all dependencies.
298313
# "cargo test" doesn't work because some of our dev-dependencies, like
299314
# rand, can't build with their own minimal dependencies.

0 commit comments

Comments
 (0)