cargo: never contact the registry
It's forbidden to access the network during the build phase in bitbake. Since this version of cargo does not yet support source-replacement, we must patch out the behavior instead.
This commit is contained in:
committed by
Steven Walter
parent
cb753fc536
commit
1059968d25
@@ -4,6 +4,7 @@ require cargo.inc
|
||||
SRC_URI += " \
|
||||
git://github.com/rust-lang/cargo.git;protocol=https;name=cargo \
|
||||
file://0001-disable-cargo-snapshot-fetch.patch \
|
||||
file://0001-Never-update-the-registry-index.patch \
|
||||
git://github.com/rust-lang/rust-installer.git;protocol=https;name=rust-installer;destsuffix=${S}/src/rust-installer \
|
||||
"
|
||||
# Compatible with Rust 1.10.0
|
||||
|
||||
Reference in New Issue
Block a user