summaryrefslogtreecommitdiff
path: root/lang/rust
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2020-08-14 11:04:59 +0000
committertnn <tnn@pkgsrc.org>2020-08-14 11:04:59 +0000
commitd83fe9deea7ef02c806fcf2dc287730b9ad2ddee (patch)
tree92023a829121f398f06c1ee7752ed23000463ec8 /lang/rust
parent23630f654e6222b433125ecdaebac1f5abcd4c8a (diff)
downloadpkgsrc-d83fe9deea7ef02c806fcf2dc287730b9ad2ddee.tar.gz
rust/cargo: replace "--frozen --locked" with "--offline" in various places
The intent of "--frozen --locked" was to not use the network, but the new "--offline" option is better suited for this purpose. It for example allows us to patch Cargo.toml if necessary without having to regen checksums.
Diffstat (limited to 'lang/rust')
-rw-r--r--lang/rust/cargo.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/rust/cargo.mk b/lang/rust/cargo.mk
index 33363dfee2d..2be1877f784 100644
--- a/lang/rust/cargo.mk
+++ b/lang/rust/cargo.mk
@@ -1,4 +1,4 @@
-# $NetBSD: cargo.mk,v 1.18 2020/08/06 11:42:56 jperkin Exp $
+# $NetBSD: cargo.mk,v 1.19 2020/08/14 11:05:00 tnn Exp $
#
# Common logic that can be used by packages that depend on cargo crates
# from crates.io. This lets existing pkgsrc infrastructure fetch and verify
@@ -10,11 +10,11 @@
# CARGO_CRATE_DEPENDS+= sha1-0.20
# .include "../../lang/rust/cargo.mk"
# do-build:
-# cargo build --locked --frozen
+# cargo build --offline
#
#
# If modifying the list of dependencies, re-run the build once without
-# --locked --frozen to generate a new valid Cargo.lock.
+# --offline to generate a new valid Cargo.lock.
#
# a list of CARGO_CRATE_DEPENDS can be generated via "make show-cargo-depends".
#