mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 11:20:54 +00:00
parent
a73a37a757
commit
375386ea93
@ -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…
x
Reference in New Issue
Block a user