about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-03-08 20:54:30 +0100
committerGitHub <noreply@github.com>2020-03-08 20:54:30 +0100
commit5e9888eec5f5e5d41be0d6ccd0b55bbd536f44e9 (patch)
treeb65d502293ab4fc84099d40c9cadfb3410cbd821 /src/doc
parentff961789bc11bcace77e789cd680ee18de37ca05 (diff)
parentdbd1514353a5aa38d08fbb08e05aa478ae926de0 (diff)
Rollup merge of #69608 - o01eg:expose-target-libdir-print, r=ehuss
Expose target libdir information via print command

With custom libdir it is required to have an access to library placement.

See https://github.com/RazrFalcon/cargo-bloat/issues/51
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/rustc/src/command-line-arguments.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/doc/rustc/src/command-line-arguments.md b/src/doc/rustc/src/command-line-arguments.md
index 659f8f65e65..7a7838d965b 100644
--- a/src/doc/rustc/src/command-line-arguments.md
+++ b/src/doc/rustc/src/command-line-arguments.md
@@ -146,6 +146,7 @@ The valid types of print values are:
 - `crate-name` — The name of the crate.
 - `file-names` — The names of the files created by the `link` emit kind.
 - `sysroot` — Path to the sysroot.
+- `target-libdir` - Path to the target libdir.
 - `cfg` — List of cfg values. See [conditional compilation] for more
   information about cfg values.
 - `target-list` — List of known targets. The target may be selected with the