mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2026-04-14 21:20:10 +00:00
@@ -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 };
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user