@@ -212,13 +212,14 @@ debugging_opts!(
212
212
FLOWGRAPH_PRINT_LOANS ,
213
213
FLOWGRAPH_PRINT_MOVES ,
214
214
FLOWGRAPH_PRINT_ASSIGNS ,
215
- FLOWGRAPH_PRINT_ALL
215
+ FLOWGRAPH_PRINT_ALL ,
216
+ PRINT_SYSROOT
216
217
]
217
218
0
218
219
)
219
220
220
221
pub 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 ) ,
222
223
( "time-passes" , "measure time of each rustc pass" , TIME_PASSES ) ,
223
224
( "count-llvm-insns" , "count where LLVM \
224
225
instrs originate", COUNT_LLVM_INSNS ) ,
@@ -256,7 +257,9 @@ pub fn debugging_opts_map() -> Vec<(&'static str, &'static str, u64)> {
256
257
( "flowgraph-print-assigns" , "Include assignment analysis data in \
257
258
--pretty flowgraph output", FLOWGRAPH_PRINT_ASSIGNS ) ,
258
259
( "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 ) ]
260
263
}
261
264
262
265
#[ deriving( Clone ) ]
0 commit comments