@@ -211,13 +211,14 @@ debugging_opts!(
211
211
FLOWGRAPH_PRINT_LOANS ,
212
212
FLOWGRAPH_PRINT_MOVES ,
213
213
FLOWGRAPH_PRINT_ASSIGNS ,
214
- FLOWGRAPH_PRINT_ALL
214
+ FLOWGRAPH_PRINT_ALL ,
215
+ PRINT_SYSROOT
215
216
]
216
217
0
217
218
)
218
219
219
220
pub fn debugging_opts_map ( ) -> Vec < ( & ' static str , & ' static str , u64 ) > {
220
- vec ! ( ( "verbose" , "in general, enable more debug printouts" , VERBOSE ) ,
221
+ vec ! [ ( "verbose" , "in general, enable more debug printouts" , VERBOSE ) ,
221
222
( "time-passes" , "measure time of each rustc pass" , TIME_PASSES ) ,
222
223
( "count-llvm-insns" , "count where LLVM \
223
224
instrs originate", COUNT_LLVM_INSNS ) ,
@@ -253,7 +254,9 @@ pub fn debugging_opts_map() -> Vec<(&'static str, &'static str, u64)> {
253
254
( "flowgraph-print-assigns" , "Include assignment analysis data in \
254
255
--pretty flowgraph output", FLOWGRAPH_PRINT_ASSIGNS ) ,
255
256
( "flowgraph-print-all" , "Include all dataflow analysis data in \
256
- --pretty flowgraph output", FLOWGRAPH_PRINT_ALL ) )
257
+ --pretty flowgraph output", FLOWGRAPH_PRINT_ALL ) ,
258
+ ( "print-sysroot" , "Print the sysroot as used by this rustc invocation" ,
259
+ PRINT_SYSROOT ) ]
257
260
}
258
261
259
262
#[ deriving( Clone ) ]
0 commit comments