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/pyca/cryptography /issues/6673 #issuecomment-985943023
27
+ # See: https://github.com/rust-lang/cargo /issues/6513 #issuecomment-864582147
28
28
# See: https://github.com/rust-lang/cargo/issues/6513
29
- RUN mkdir -p ~/.cargo/registry/index && cd ~/.cargo/registry/index && git clone --bare https://github.com/rust-lang/crates.io-index.git github.com-1ecc6299db9ec823
29
+ RUN mkdir ~/.cargo/ && echo -e '[net] \n git-fetch-with-cli = true' > ~/.cargo/config.toml
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