]> git.lizzy.rs Git - rust.git/commitdiff
Update usage of rustc
authorF001 <changchun.fan@qq.com>
Thu, 5 Jan 2017 04:25:26 +0000 (12:25 +0800)
committerF001 <changchun.fan@qq.com>
Thu, 5 Jan 2017 04:25:26 +0000 (12:25 +0800)
Add proc_macro crate type

src/librustc/session/config.rs

index b3cb5ace45bc04e702d8b16a506f48f1b9277cea..85336b173e407471d7405138068c9d1886c5bfad 100644 (file)
@@ -1175,7 +1175,7 @@ pub fn rustc_short_optgroups() -> Vec<RustcOptGroup> {
                              assumed.", "[KIND=]NAME"),
         opt::multi_s("", "crate-type", "Comma separated list of types of crates
                                     for the compiler to emit",
-                   "[bin|lib|rlib|dylib|cdylib|staticlib]"),
+                   "[bin|lib|rlib|dylib|cdylib|staticlib|proc-macro]"),
         opt::opt_s("", "crate-name", "Specify the name of the crate being built",
                "NAME"),
         opt::multi_s("", "emit", "Comma separated list of types of output for \