Replace RemapFileNameExt::for_codegen
with explicit calls
This commit is contained in:
parent
c5c31447a7
commit
5de668acb0
@ -84,7 +84,9 @@ pub(crate) fn new(tcx: TyCtxt<'_>, isa: &dyn TargetIsa, cgu_name: &str) -> Self
|
|||||||
|
|
||||||
let mut dwarf = DwarfUnit::new(encoding);
|
let mut dwarf = DwarfUnit::new(encoding);
|
||||||
|
|
||||||
let should_remap_filepaths = tcx.sess.should_prefer_remapped_for_codegen();
|
use rustc_session::config::RemapPathScopeComponents;
|
||||||
|
let should_remap_filepaths =
|
||||||
|
tcx.sess.should_prefer_remapped(RemapPathScopeComponents::DEBUGINFO);
|
||||||
|
|
||||||
let producer = producer(tcx.sess);
|
let producer = producer(tcx.sess);
|
||||||
let comp_dir = tcx
|
let comp_dir = tcx
|
||||||
|
Loading…
Reference in New Issue
Block a user