Merge pull request #19475 from inflation/push-xrwpqzsqxtuy
Fix debug sourceFileMap when using cppvsdbg
diff --git a/editors/code/src/debug.ts b/editors/code/src/debug.ts
index 04211d7..a04a6db 100644
--- a/editors/code/src/debug.ts
+++ b/editors/code/src/debug.ts
@@ -225,7 +225,7 @@
const commitHash = rx.exec(data)?.[1];
if (commitHash) {
const rustlib = path.normalize(sysroot + "/lib/rustlib/src/rust");
- return { source: rustlib, destination: rustlib };
+ return { source: "/rustc/" + commitHash, destination: rustlib };
}
}