1
Fork 0

Remove #[macro_use] extern crate tracing from rustc_codegen_llvm.

This commit is contained in:
Nicholas Nethercote 2024-05-22 14:50:24 +10:00
parent 9287aede31
commit 8e94226e61
19 changed files with 18 additions and 4 deletions

View file

@ -41,6 +41,7 @@ use rustc_symbol_mangling::typeid_for_trait_ref;
use rustc_target::abi::{Align, Size};
use rustc_target::spec::DebuginfoKind;
use smallvec::smallvec;
use tracing::{debug, instrument};
use libc::{c_char, c_longlong, c_uint};
use std::borrow::Cow;

View file

@ -42,6 +42,7 @@ use std::cell::OnceCell;
use std::cell::RefCell;
use std::iter;
use std::ops::Range;
use tracing::debug;
mod create_scope_map;
pub mod gdb;

View file

@ -6,7 +6,7 @@ use super::CodegenUnitDebugContext;
use rustc_hir::def_id::DefId;
use rustc_middle::ty::layout::{HasParamEnv, LayoutOf};
use rustc_middle::ty::{self, Ty};
use trace;
use tracing::trace;
use crate::common::CodegenCx;
use crate::llvm;