Skip to content

Commit a5ca584

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

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.cirrus.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,14 @@ task:
289289
- name: Linux armv7 uclibceabihf
290290
env:
291291
TARGET: armv7-unknown-linux-uclibceabihf
292+
# Pin nightly compiler due to
293+
# https://github.com/rust-lang/rust/issues/95866
294+
TOOLCHAIN: nightly-2022-04-01
292295
setup_script:
293-
- rustup component add rust-src
296+
# install the pinned compiler, if necessary
297+
- rustup toolchain install $TOOLCHAIN --profile minimal
298+
- rustup component add --toolchain $TOOLCHAIN rust-src
299+
- rustup component add --toolchain $TOOLCHAIN clippy
294300
<< : *BUILD
295301
before_cache_script: rm -rf $CARGO_HOME/registry/index
296302

0 commit comments

Comments
 (0)