about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrances Wingerter <91758128+fw-immunant@users.noreply.github.com>2022-08-01 22:03:18 +0000
committerGitHub <noreply@github.com>2022-08-01 22:03:18 +0000
commit9864db6c76d7c466e8b3598295eb4a8d64098537 (patch)
tree260cff3661ae3205d8f31bbd960c096073039153
parentfe3342816a282949f014caa05ea2e669ff9d3d3c (diff)
downloadrust-9864db6c76d7c466e8b3598295eb4a8d64098537.tar.gz
rust-9864db6c76d7c466e8b3598295eb4a8d64098537.zip
Update rustc man page to match `rustc --help`
This brings the `--crate-type`,  `--emit`, and `--print` options' allowed arguments into sync with that printed by `rustc --help`.
-rw-r--r--src/doc/man/rustc.16
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/man/rustc.1 b/src/doc/man/rustc.1
index ff41324ef26..534af3f85bb 100644
--- a/src/doc/man/rustc.1
+++ b/src/doc/man/rustc.1
@@ -44,18 +44,18 @@ The optional \fIKIND\fR can be one of \fIstatic\fR, \fIdylib\fR, or
 \fIframework\fR.
 If omitted, \fIdylib\fR is assumed.
 .TP
-\fB\-\-crate\-type\fR [bin|lib|rlib|dylib|cdylib|staticlib]
+\fB\-\-crate\-type\fR [bin|lib|rlib|dylib|cdylib|staticlib|proc\-macro]
 Comma separated list of types of crates for the compiler to emit.
 .TP
 \fB\-\-crate\-name\fR \fINAME\fR
 Specify the name of the crate being built.
 .TP
-\fB\-\-emit\fR [asm|llvm\-bc|llvm\-ir|obj|link|dep\-info|mir][=\fIPATH\fR]
+\fB\-\-emit\fR [asm|llvm\-bc|llvm\-ir|obj|metadata|link|dep\-info|mir][=\fIPATH\fR]
 Configure the output that \fBrustc\fR will produce. Each emission may also have
 an optional explicit output \fIPATH\fR specified for that particular emission
 kind. This path takes precedence over the \fB-o\fR option.
 .TP
-\fB\-\-print\fR [crate\-name|\:file\-names|\:sysroot|\:cfg|\:target\-list|\:target\-cpus|\:target\-features|\:relocation\-models|\:code\-models|\:tls\-models|\:target\-spec\-json|\:native\-static\-libs]
+\fB\-\-print\fR [crate\-name|\:file\-names|\:sysroot|\:target\-libdir|\:cfg|\:target\-list|\:target\-cpus|\:target\-features|\:relocation\-models|\:code\-models|\:tls\-models|\:target\-spec\-json|\:native\-static\-libs|\:stack\-protector\-strategies|\:link\-args]
 Comma separated list of compiler information to print on stdout.
 .TP
 \fB\-g\fR