File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,9 @@ RUN tar --strip-components=1 -C /workdir -xzf /tmp/v$RUST_PYTHON_VERSION.tar.gz
24
24
RUN git apply /tmp/9cac89347e2276fcb309f108561e99f4be5baff2.patch
25
25
26
26
# armv6 and armv7 fix
27
- # See: https://github.com/rust-lang/cargo/issues/6513#issuecomment-864582147
27
+ # See: https://github.com/rust-lang/cargo/issues/6513#issuecomment-1425753938
28
28
# See: https://github.com/rust-lang/cargo/issues/6513
29
- RUN mkdir ~/.cargo/ && echo -e '[net] \n git-fetch-with-cli = true' > ~/.cargo/config.toml
29
+ RUN git fetch --force --update-head-ok https://github.com/rust-lang/crates.io-index +HEAD:refs/remotes/origin/HEAD -v
30
30
31
31
# Remove the git mode that triggers an error on armv6 and armv7
32
32
# Ref: https://github.com/rust-lang/cargo/issues/2808 (failed to mmap. Could not write data: Out of memory; class=Os (2))
You can’t perform that action at this time.
0 commit comments