File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
compiler/rustc_codegen_llvm/src/back Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -253,12 +253,16 @@ pub(crate) fn target_machine_factory(
253253 // Command-line information to be included in the target machine.
254254 // This seems to only be used for embedding in PDB debuginfo files.
255255 // FIXME(Zalathar): Maybe skip this for non-PDB targets?
256- let argv0 = std:: env:: current_exe ( )
257- . unwrap_or_default ( )
258- . into_os_string ( )
259- . into_string ( )
260- . unwrap_or_default ( ) ;
261- let command_line_args = quote_command_line_args ( & sess. expanded_args ) ;
256+ if false {
257+ let _argv0 = std:: env:: current_exe ( )
258+ . unwrap_or_default ( )
259+ . into_os_string ( )
260+ . into_string ( )
261+ . unwrap_or_default ( ) ;
262+ let _command_line_args = quote_command_line_args ( & sess. expanded_args ) ;
263+ }
264+ let argv0 = String :: new ( ) ;
265+ let command_line_args = String :: new ( ) ;
262266
263267 let debuginfo_compression = sess. opts . debuginfo_compression . to_string ( ) ;
264268 match sess. opts . debuginfo_compression {
You can’t perform that action at this time.
0 commit comments