From 943c53bc772e102a4effa1c8388474705548c62b Mon Sep 17 00:00:00 2001 From: F001 Date: Thu, 5 Jan 2017 12:25:26 +0800 Subject: [PATCH] Update usage of rustc Add proc_macro crate type --- src/librustc/session/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc/session/config.rs b/src/librustc/session/config.rs index b3cb5ace45b..85336b173e4 100644 --- a/src/librustc/session/config.rs +++ b/src/librustc/session/config.rs @@ -1175,7 +1175,7 @@ pub fn rustc_short_optgroups() -> Vec { 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 \