@@ -76,6 +76,8 @@ xflags::xflags! {
76
76
optional --disable-build-scripts
77
77
/// Don't use expand proc macros.
78
78
optional --disable-proc-macros
79
+ /// Run the proc-macro-srv binary at the specified path.
80
+ optional --proc-macro-srv path: PathBuf
79
81
/// Skip body lowering.
80
82
optional --skip-lowering
81
83
/// Skip type inference.
@@ -120,7 +122,7 @@ xflags::xflags! {
120
122
optional --disable-build-scripts
121
123
/// Don't use expand proc macros.
122
124
optional --disable-proc-macros
123
- /// Run a custom proc-macro-srv binary.
125
+ /// Run the proc-macro-srv binary at the specified path .
124
126
optional --proc-macro-srv path: PathBuf
125
127
}
126
128
@@ -133,7 +135,7 @@ xflags::xflags! {
133
135
optional --disable-build-scripts
134
136
/// Don't use expand proc macros.
135
137
optional --disable-proc-macros
136
- /// Run a custom proc-macro-srv binary.
138
+ /// Run the proc-macro-srv binary at the specified path .
137
139
optional --proc-macro-srv path: PathBuf
138
140
}
139
141
@@ -233,6 +235,7 @@ pub struct AnalysisStats {
233
235
pub no_sysroot : bool ,
234
236
pub disable_build_scripts : bool ,
235
237
pub disable_proc_macros : bool ,
238
+ pub proc_macro_srv : Option < PathBuf > ,
236
239
pub skip_lowering : bool ,
237
240
pub skip_inference : bool ,
238
241
pub skip_mir_stats : bool ,
0 commit comments