Auto merge of #34783 - Dridi:cdylib_usage, r=alexcrichton
Mention the crate type cdylib in rustc's usage
Hello,
I just tried to build a `cdylib` with the latest stable release, I've been passively waiting for this for quite some time now. Tested successfully on my machine, although it doesn't appear in `rustc`'s usage it seems to work like a charm so far. 😀
Thanks!
This commit is contained in:
commit
fe5c439f69
2 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ The optional \fIKIND\fR can be one of \fIstatic\fR, \fIdylib\fR, or
|
||||||
\fIframework\fR.
|
\fIframework\fR.
|
||||||
If omitted, \fIdylib\fR is assumed.
|
If omitted, \fIdylib\fR is assumed.
|
||||||
.TP
|
.TP
|
||||||
\fB\-\-crate\-type\fR [bin|lib|rlib|dylib|staticlib]
|
\fB\-\-crate\-type\fR [bin|lib|rlib|dylib|cdylib|staticlib]
|
||||||
Comma separated list of types of crates for the compiler to emit.
|
Comma separated list of types of crates for the compiler to emit.
|
||||||
.TP
|
.TP
|
||||||
\fB\-\-crate\-name\fR \fINAME\fR
|
\fB\-\-crate\-name\fR \fINAME\fR
|
||||||
|
|
|
@ -981,7 +981,7 @@ pub fn rustc_short_optgroups() -> Vec<RustcOptGroup> {
|
||||||
assumed.", "[KIND=]NAME"),
|
assumed.", "[KIND=]NAME"),
|
||||||
opt::multi_s("", "crate-type", "Comma separated list of types of crates
|
opt::multi_s("", "crate-type", "Comma separated list of types of crates
|
||||||
for the compiler to emit",
|
for the compiler to emit",
|
||||||
"[bin|lib|rlib|dylib|staticlib]"),
|
"[bin|lib|rlib|dylib|cdylib|staticlib]"),
|
||||||
opt::opt_s("", "crate-name", "Specify the name of the crate being built",
|
opt::opt_s("", "crate-name", "Specify the name of the crate being built",
|
||||||
"NAME"),
|
"NAME"),
|
||||||
opt::multi_s("", "emit", "Comma separated list of types of output for \
|
opt::multi_s("", "emit", "Comma separated list of types of output for \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue