Unnamed repository; edit this file 'description' to name the repository.
Merge pull request #19475 from inflation/push-xrwpqzsqxtuy
Fix debug sourceFileMap when using cppvsdbg
| -rw-r--r-- | editors/code/src/debug.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/debug.ts b/editors/code/src/debug.ts index 04211d77e7..a04a6db7ad 100644 --- a/editors/code/src/debug.ts +++ b/editors/code/src/debug.ts @@ -225,7 +225,7 @@ async function discoverSourceFileMap( 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 }; } } |