File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ fn line_program_add_file(
66
66
) -> FileId {
67
67
match & file. name {
68
68
FileName :: Real ( path) => {
69
- let ( dir_path, file_name) = split_path_dir_and_file ( path. stable_name ( ) ) ;
69
+ let ( dir_path, file_name) = split_path_dir_and_file ( path. remapped_path_if_available ( ) ) ;
70
70
let dir_name = osstr_as_utf8_bytes ( dir_path. as_os_str ( ) ) ;
71
71
let file_name = osstr_as_utf8_bytes ( file_name) ;
72
72
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ impl<'tcx> DebugContext<'tcx> {
64
64
// FIXME: how to get version when building out of tree?
65
65
// Normally this would use option_env!("CFG_VERSION").
66
66
let producer = format ! ( "cg_clif (rustc {})" , "unknown version" ) ;
67
- let comp_dir = tcx. sess . working_dir . stable_name ( ) . to_string_lossy ( ) . into_owned ( ) ;
67
+ let comp_dir = tcx. sess . working_dir . to_string_lossy ( false ) . into_owned ( ) ;
68
68
let ( name, file_info) = match tcx. sess . local_crate_source_file . clone ( ) {
69
69
Some ( path) => {
70
70
let name = path. to_string_lossy ( ) . into_owned ( ) ;
You can’t perform that action at this time.
0 commit comments