@@ -76,6 +76,8 @@ xflags::xflags! {
7676 optional --disable-build-scripts
7777 /// Don't use expand proc macros.
7878 optional --disable-proc-macros
79+ /// Run the proc-macro-srv binary at the specified path.
80+ optional --proc-macro-srv path: PathBuf
7981 /// Skip body lowering.
8082 optional --skip-lowering
8183 /// Skip type inference.
@@ -120,7 +122,7 @@ xflags::xflags! {
120122 optional --disable-build-scripts
121123 /// Don't use expand proc macros.
122124 optional --disable-proc-macros
123- /// Run a custom proc-macro-srv binary.
125+ /// Run the proc-macro-srv binary at the specified path .
124126 optional --proc-macro-srv path: PathBuf
125127 }
126128
@@ -133,7 +135,7 @@ xflags::xflags! {
133135 optional --disable-build-scripts
134136 /// Don't use expand proc macros.
135137 optional --disable-proc-macros
136- /// Run a custom proc-macro-srv binary.
138+ /// Run the proc-macro-srv binary at the specified path .
137139 optional --proc-macro-srv path: PathBuf
138140 }
139141
@@ -233,6 +235,7 @@ pub struct AnalysisStats {
233235 pub no_sysroot : bool ,
234236 pub disable_build_scripts : bool ,
235237 pub disable_proc_macros : bool ,
238+ pub proc_macro_srv : Option < PathBuf > ,
236239 pub skip_lowering : bool ,
237240 pub skip_inference : bool ,
238241 pub skip_mir_stats : bool ,
0 commit comments