File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
compiler/rustc_driver_impl/src Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -373,15 +373,16 @@ fn run_compiler(
373
373
374
374
let handler = EarlyErrorHandler :: new( sess. opts. error_format) ;
375
375
376
+ let should_stop = print_crate_info( & handler, codegen_backend, sess, has_input) ;
377
+
376
378
if !has_input {
377
- let should_stop = print_crate_info( & handler, codegen_backend, sess, false ) ;
378
379
if should_stop == Compilation :: Continue {
379
380
handler. early_error( "no input filename given" )
380
381
}
381
382
return sess. compile_status( ) ;
382
383
}
383
384
384
- let should_stop = print_crate_info ( & handler , codegen_backend , sess , true )
385
+ let should_stop = should_stop
385
386
. and_then( || list_metadata( & handler, sess, & * codegen_backend. metadata_loader( ) ) )
386
387
. and_then( || try_process_rlink( sess, compiler) ) ;
387
388
You can’t perform that action at this time.
0 commit comments