@@ -212,13 +212,14 @@ debugging_opts!(
212212 FLOWGRAPH_PRINT_LOANS ,
213213 FLOWGRAPH_PRINT_MOVES ,
214214 FLOWGRAPH_PRINT_ASSIGNS ,
215- FLOWGRAPH_PRINT_ALL
215+ FLOWGRAPH_PRINT_ALL ,
216+ PRINT_SYSROOT
216217 ]
217218 0
218219)
219220
220221pub fn debugging_opts_map ( ) -> Vec < ( & ' static str , & ' static str , u64 ) > {
221- vec ! ( ( "verbose" , "in general, enable more debug printouts" , VERBOSE ) ,
222+ vec ! [ ( "verbose" , "in general, enable more debug printouts" , VERBOSE ) ,
222223 ( "time-passes" , "measure time of each rustc pass" , TIME_PASSES ) ,
223224 ( "count-llvm-insns" , "count where LLVM \
224225 instrs originate", COUNT_LLVM_INSNS ) ,
@@ -256,7 +257,9 @@ pub fn debugging_opts_map() -> Vec<(&'static str, &'static str, u64)> {
256257 ( "flowgraph-print-assigns" , "Include assignment analysis data in \
257258 --pretty flowgraph output", FLOWGRAPH_PRINT_ASSIGNS ) ,
258259 ( "flowgraph-print-all" , "Include all dataflow analysis data in \
259- --pretty flowgraph output", FLOWGRAPH_PRINT_ALL ) )
260+ --pretty flowgraph output", FLOWGRAPH_PRINT_ALL ) ,
261+ ( "print-sysroot" , "Print the sysroot as used by this rustc invocation" ,
262+ PRINT_SYSROOT ) ]
260263}
261264
262265#[ deriving( Clone ) ]
0 commit comments