We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 53bbef8 + b046e32 commit da415e1Copy full SHA for da415e1
src/lib.rs
@@ -27,6 +27,8 @@ extern crate rustc_metadata;
27
extern crate rustc_session;
28
extern crate rustc_span;
29
extern crate rustc_target;
30
+#[macro_use]
31
+extern crate tracing;
32
33
// This prevents duplicating functions and statics that are already part of the host rustc process.
34
#[allow(unused_extern_crates)]
@@ -208,6 +210,7 @@ impl CodegenBackend for CraneliftCodegenBackend {
208
210
need_metadata_module: bool,
209
211
) -> Box<dyn Any> {
212
tcx.dcx().abort_if_errors();
213
+ info!("codegen crate {}", tcx.crate_name(LOCAL_CRATE));
214
let config = self.config.clone().unwrap_or_else(|| {
215
BackendConfig::from_opts(&tcx.sess.opts.cg.llvm_args)
216
.unwrap_or_else(|err| tcx.sess.dcx().fatal(err))
0 commit comments