Commit 31f6d5b
committed
The rust 1.45.0 build fails with
```
Updating crates.io index
error: failed to get `serde` as a dependency of package `url v2.2.2 (/home/icecold/workspace/rust-url/url)`
Caused by:
failed to fetch `https://github.com/rust-lang/crates.io-index`
Caused by:
error reading from the zlib stream; class=Zlib (5)
```
Fixed by `CARGO_NET_GIT_FETCH_WITH_CLI=true cargo build --all-targets`
According to rust-lang/cargo#103031 parent 1060c59 commit 31f6d5b
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
0 commit comments