diff options
| author | Eric Huss <eric@huss.org> | 2019-09-28 12:04:06 -0700 |
|---|---|---|
| committer | Eric Huss <eric@huss.org> | 2019-11-07 05:51:17 -0800 |
| commit | b47e3d8fe4dc6c22157e9d458a3f619a3860b8f8 (patch) | |
| tree | 6a27a95fadd0899e5d4970ac81d02557e7930728 /src/doc | |
| parent | 50f8aadd746ebc929a752e5ffb133936ee75c52f (diff) | |
| download | rust-b47e3d8fe4dc6c22157e9d458a3f619a3860b8f8.tar.gz rust-b47e3d8fe4dc6c22157e9d458a3f619a3860b8f8.zip | |
Stabilize --extern flag without a path.
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/rustc/src/command-line-arguments.md | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/doc/rustc/src/command-line-arguments.md b/src/doc/rustc/src/command-line-arguments.md index 79b4f7542f9..5887a0869e6 100644 --- a/src/doc/rustc/src/command-line-arguments.md +++ b/src/doc/rustc/src/command-line-arguments.md @@ -264,7 +264,12 @@ This flag, when combined with other flags, makes them produce extra output. This flag allows you to pass the name and location of an external crate that will be linked into the crate you are building. This flag may be specified -multiple times. The format of the value should be `CRATENAME=PATH`. +multiple times. This flag takes an argument with either of the following +formats: + +* `CRATENAME=PATH` — Indicates the given crate is found at the given path. +* `CRATENAME` — Indicates the given crate may be found in the search path, + such as within the sysroot or via the `-L` flag. <a id="option-sysroot"></a> ## `--sysroot`: Override the system root |
