diff --git a/editors/code/src/debug.ts b/editors/code/src/debug.ts index 04211d77e779..a04a6db7adb6 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 }; } }