Repository navigation
feat: Automatically detect rust library source file map - #8624
Conversation
|
I also found that there are paths start with Also, the |
I suppose, these are dependencies, and all the necessary information should be in the compiled executable (or pdb on windows).
This is intentional. Conflicts are possible if you automatically add a value to the existing source map. And it's easy to forget and then spend a lot of time trying to figure out the reason. Trust me, I've done that before :) |
|
The For example, this command on my PC: shows many symbols that have paths start with |
|
bors d+ The code looks OK to me, but I don't really understand the debugging domain at all ) |
|
✌️ vsrs can now approve this pull request. To approve and merge a pull request, simply reply with |
|
bors r+ |
This PR adds a new possible
rust-analyzer.debug.sourceFileMapvalue:{ "rust-analyzer.debug.sourceFileMap": "auto" }I did not make it the default because it uses two shell calls (
rustc --print sysrootandrustc -V -v). First one can be slow (rust-lang/rustup#783)Fixes #8619