Skip to content

Commit

Permalink
Work around Rust 1.45.0's fetch problem
Browse files Browse the repository at this point in the history
  • Loading branch information
asomers committed Sep 18, 2022
1 parent a147af4 commit b1a90ae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ common: &COMMON
RUSTFLAGS: -Dwarnings
RUSTDOCFLAGS: -Dwarnings
cargo_cache:
folder: $HOME/.cargo/registry
folder: $CARGO_HOME/registry
build_script:
- cargo build $CARGO_ARGS
doc_script:
Expand All @@ -14,6 +14,9 @@ task:
name: MSRV
container:
image: rust:1.45.0
env:
# CARGO_NET_GIT_FETCH_WITH_CLI is only necessary with Rust 1.45
CARGO_NET_GIT_FETCH_WITH_CLI: true
<< : *COMMON
before_cache_script: rm -rf $CARGO_HOME/registry/index

Expand Down

0 comments on commit b1a90ae

Please sign in to comment.