]> git.proxmox.com Git - cargo.git/commitdiff
Document -Z extra-link-arg.
authorEdd Barrett <vext01@gmail.com>
Mon, 1 Feb 2021 14:51:50 +0000 (14:51 +0000)
committerEdd Barrett <vext01@gmail.com>
Mon, 1 Feb 2021 14:51:50 +0000 (14:51 +0000)
src/bin/cargo/cli.rs

index ed826be580487c3eef2a77fc4eff26a54a177e23..243f6ac0773c58ba8b5cfc1c02c2ec38974e9b18 100644 (file)
@@ -36,6 +36,7 @@ pub fn main(config: &mut Config) -> CliResult {
 Available unstable (nightly-only) flags:
 
     -Z avoid-dev-deps      -- Avoid installing dev-dependencies if possible
+    -Z extra-link-arg      -- Allow `cargo:rustc-link-arg` in build scripts
     -Z minimal-versions    -- Install minimal dependency versions instead of maximum
     -Z no-index-update     -- Do not update the registry, avoids a network request for benchmarking
     -Z unstable-options    -- Allow the usage of unstable options