Skip to content

Commit 968c47d

Browse files
committed
Workaround a Rust nightly bug
Temporarily downgrade rustc nightly during CI minver to workaround a Rustc bug. rust-lang/rust#78660
1 parent 4b6013c commit 968c47d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.cirrus.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ minver_task:
4646
cargo_cache:
4747
folder: $CARGO_HOME/registry
4848
test_script:
49+
# Workaround Rust bug https://github.com/rust-lang/rust/issues/78660
50+
- env RUSTUP_HOME=/usr/local/rustup CARGO_HOME=/usr/local/cargo PATH=/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin && rustup component remove rustfmt && rustup toolchain install nightly-2020-10-27-x86_64 && rustup default nightly-2020-10-27-x86_64
4951
- cargo update -Zminimal-versions
5052
- cargo test --all-features --all
5153
before_cache_script: rm -rf $CARGO_HOME/registry/index

0 commit comments

Comments
 (0)