From a5ca5841fec34be89aabae3c7ff2ba854e9e094a Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Sat, 9 Apr 2022 17:03:57 -0600 Subject: [PATCH] Pin nightly compiler used in CI for uclibc Workaround for https://github.com/rust-lang/rust/issues/95866 --- .cirrus.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index cc5f216da5..15700ce383 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -289,8 +289,14 @@ task: - name: Linux armv7 uclibceabihf env: TARGET: armv7-unknown-linux-uclibceabihf + # Pin nightly compiler due to + # https://github.com/rust-lang/rust/issues/95866 + TOOLCHAIN: nightly-2022-04-01 setup_script: - - rustup component add rust-src + # install the pinned compiler, if necessary + - rustup toolchain install $TOOLCHAIN --profile minimal + - rustup component add --toolchain $TOOLCHAIN rust-src + - rustup component add --toolchain $TOOLCHAIN clippy << : *BUILD before_cache_script: rm -rf $CARGO_HOME/registry/index