-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong path used for rustc sources #238
Comments
What platform are you on, what are the versions of rustc/cargo-show-asm? Do you have a small example? |
Rustc sources being under Checked on both linux and windows with cargo-show-asm 0.2.26 Anything that references rustc sources will cause the problem. extern crate rustc_span;
pub fn f(x: rustc_span::Span) -> rustc_span::SyntaxContext {
x.ctxt()
} |
I see, I don't think I'm doing anything yet to support rustc sources themselves. Can you make a minimal crate/command for me to run? My attempts at just adding what you posted into |
Sorry, forgot to add |
I'm still having this error when I run
|
You should just need |
I pushed a |
Seems to work on both Tried on |
Awesome. I don't think 2020 nightly is worth supporting. Will make a release soon-ish. |
Probably not. Thanks for being quick. |
Currently rustc sources are being searched for at
/lib/rustlib/src/rust/compiler/...
, but the correct path is/lib/rustlib/rustc-src/rust/compiler/...
. Looks like the path given to search is/rustc/<hash>/compiler/...
.These are for the actual compiler sources in the
rustc-dev
component, not std sources.The text was updated successfully, but these errors were encountered: