mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-28 18:43:01 +00:00
Merge pull request #19475 from inflation/push-xrwpqzsqxtuy
Fix debug sourceFileMap when using cppvsdbg
This commit is contained in:
commit
fb133c8c80
1 changed files with 1 additions and 1 deletions
|
|
@ -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 };
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue