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;
27
27
extern crate rustc_session;
28
28
extern crate rustc_span;
29
29
extern crate rustc_target;
30
+ #[ macro_use]
31
+ extern crate tracing;
30
32
31
33
// This prevents duplicating functions and statics that are already part of the host rustc process.
32
34
#[ allow( unused_extern_crates) ]
@@ -208,6 +210,7 @@ impl CodegenBackend for CraneliftCodegenBackend {
208
210
need_metadata_module : bool ,
209
211
) -> Box < dyn Any > {
210
212
tcx. dcx ( ) . abort_if_errors ( ) ;
213
+ info ! ( "codegen crate {}" , tcx. crate_name( LOCAL_CRATE ) ) ;
211
214
let config = self . config . clone ( ) . unwrap_or_else ( || {
212
215
BackendConfig :: from_opts ( & tcx. sess . opts . cg . llvm_args )
213
216
. unwrap_or_else ( |err| tcx. sess . dcx ( ) . fatal ( err) )
You can’t perform that action at this time.
0 commit comments