File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 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(
6666) -> FileId {
6767 match & file. name {
6868 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 ( ) ) ;
7070 let dir_name = osstr_as_utf8_bytes ( dir_path. as_os_str ( ) ) ;
7171 let file_name = osstr_as_utf8_bytes ( file_name) ;
7272
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ impl<'tcx> DebugContext<'tcx> {
6464 // FIXME: how to get version when building out of tree?
6565 // Normally this would use option_env!("CFG_VERSION").
6666 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 ( ) ;
6868 let ( name, file_info) = match tcx. sess . local_crate_source_file . clone ( ) {
6969 Some ( path) => {
7070 let name = path. to_string_lossy ( ) . into_owned ( ) ;
You can’t perform that action at this time.
0 commit comments