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