File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
src/tools/compiletest/src/runtest Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -401,15 +401,13 @@ impl TestCx<'_> {
401401 // Switch LLDB into "Rust mode".
402402 let rust_pp_module_abs_path = self . config . src_root . join ( "src/etc" ) ;
403403
404- if self . props . debug_pretty_printers {
405- script_str. push_str ( & format ! (
406- "command script import {}/lldb_lookup.py\n " ,
407- rust_pp_module_abs_path
408- ) ) ;
409- File :: open ( rust_pp_module_abs_path. join ( "lldb_commands" ) )
410- . and_then ( |mut file| file. read_to_string ( & mut script_str) )
411- . expect ( "Failed to read lldb_commands" ) ;
412- }
404+ script_str. push_str ( & format ! (
405+ "command script import {}/lldb_lookup.py\n " ,
406+ rust_pp_module_abs_path
407+ ) ) ;
408+ File :: open ( rust_pp_module_abs_path. join ( "lldb_commands" ) )
409+ . and_then ( |mut file| file. read_to_string ( & mut script_str) )
410+ . expect ( "Failed to read lldb_commands" ) ;
413411
414412 // Set breakpoints on every line that contains the string "#break"
415413 let source_file_name = self . testpaths . file . file_name ( ) . unwrap ( ) ;
You can’t perform that action at this time.
0 commit comments