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.
1 parent 0a1b87c commit ac5272bCopy full SHA for ac5272b
src/debuginfo/mod.rs
@@ -64,7 +64,7 @@ impl<'tcx> DebugContext<'tcx> {
64
// FIXME: how to get version when building out of tree?
65
// Normally this would use option_env!("CFG_VERSION").
66
let producer = format!("cg_clif (rustc {})", "unknown version");
67
- let comp_dir = tcx.sess.working_dir.0.to_string_lossy().into_owned();
+ let comp_dir = tcx.sess.working_dir.stable_name().to_string_lossy().into_owned();
68
let (name, file_info) = match tcx.sess.local_crate_source_file.clone() {
69
Some(path) => {
70
let name = path.to_string_lossy().into_owned();
0 commit comments