diff options
author | tnn <tnn@pkgsrc.org> | 2020-08-14 21:19:22 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2020-08-14 21:19:22 +0000 |
commit | 6778cc019944a49f8ba63470053e26d7e66ec681 (patch) | |
tree | 732a339ffb8bd6f2052e00191707665086b5cf12 /lang | |
parent | 115fc5f358d1177d7baa1fd72e4083d53112ae1e (diff) | |
download | pkgsrc-6778cc019944a49f8ba63470053e26d7e66ec681.tar.gz |
rust/cargo.mk: update documentation
Diffstat (limited to 'lang')
-rw-r--r-- | lang/rust/cargo.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lang/rust/cargo.mk b/lang/rust/cargo.mk index 3a32e2113a0..ebc8867e9fd 100644 --- a/lang/rust/cargo.mk +++ b/lang/rust/cargo.mk @@ -1,4 +1,4 @@ -# $NetBSD: cargo.mk,v 1.21 2020/08/14 21:12:03 tnn Exp $ +# $NetBSD: cargo.mk,v 1.22 2020/08/14 21:19:22 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 @@ -12,8 +12,10 @@ # # If modifying the list of dependencies, re-run the build once without # --offline in CARGO_ARGS to generate a new valid Cargo.lock. +# e.g: make CARGO_ARGS="build --release" build # -# a list of CARGO_CRATE_DEPENDS can be generated via "make show-cargo-depends". +# a list of CARGO_CRATE_DEPENDS can be generated via +# make print-cargo-depends > cargo-depends.mk # # See also www/geckodriver for a full example. |