File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ extern crate rustc_metadata;
2727extern crate rustc_session;
2828extern crate rustc_span;
2929extern crate rustc_target;
30+ #[ macro_use]
31+ extern crate tracing;
3032
3133// This prevents duplicating functions and statics that are already part of the host rustc process.
3234#[ allow( unused_extern_crates) ]
@@ -208,6 +210,7 @@ impl CodegenBackend for CraneliftCodegenBackend {
208210 need_metadata_module : bool ,
209211 ) -> Box < dyn Any > {
210212 tcx. dcx ( ) . abort_if_errors ( ) ;
213+ info ! ( "codegen crate {}" , tcx. crate_name( LOCAL_CRATE ) ) ;
211214 let config = self . config . clone ( ) . unwrap_or_else ( || {
212215 BackendConfig :: from_opts ( & tcx. sess . opts . cg . llvm_args )
213216 . unwrap_or_else ( |err| tcx. sess . dcx ( ) . fatal ( err) )
You can’t perform that action at this time.
0 commit comments