Skip to content

Commit

Permalink
Workaround a Rust nightly bug
Browse files Browse the repository at this point in the history
Temporarily downgrade rustc nightly during CI minver to workaround a
Rustc bug.
rust-lang/rust#78660
  • Loading branch information
asomers committed Nov 3, 2020
1 parent 4b6013c commit 968c47d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ minver_task:
cargo_cache:
folder: $CARGO_HOME/registry
test_script:
# Workaround Rust bug https://github.com/rust-lang/rust/issues/78660
- 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
- cargo update -Zminimal-versions
- cargo test --all-features --all
before_cache_script: rm -rf $CARGO_HOME/registry/index
Expand Down

0 comments on commit 968c47d

Please sign in to comment.