rust: force cargo to build offline
gcc/rust/Changelog: PR rust/119333 * Make-lang.in: Force offline mode for cargo Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
This commit is contained in:
parent
b9a4399ac5
commit
d4fe08c2d4
1 changed files with 1 additions and 1 deletions
|
@ -503,5 +503,5 @@ rust/%.o: rust/metadata/%.cc
|
|||
rust/libffi_polonius.a: \
|
||||
rust/checks/errors/borrowck/ffi-polonius/Cargo.toml \
|
||||
$(wildcard $(srcdir)/rust/checks/errors/borrowck/ffi-polonius/src/*)
|
||||
cargo build --manifest-path $(srcdir)/rust/checks/errors/borrowck/ffi-polonius/Cargo.toml --release --target-dir rust/ffi-polonius
|
||||
cd $(srcdir)/rust/checks/errors/borrowck/ffi-polonius/ && cargo build --offline --release --target-dir $(objdir)/rust/ffi-polonius
|
||||
cp rust/ffi-polonius/release/libffi_polonius.a rust/libffi_polonius.a
|
||||
|
|
Loading…
Add table
Reference in a new issue