Skip to content
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

RLS save-analysis is gone, need some other way to inspect crates #1

Closed
wfraser opened this issue Aug 24, 2023 · 0 comments
Closed

RLS save-analysis is gone, need some other way to inspect crates #1

wfraser opened this issue Aug 24, 2023 · 0 comments

Comments

@wfraser
Copy link
Owner

wfraser commented Aug 24, 2023

The -Z save-analysis feature was removed in rust-lang/rust#101841 which completely breaks this program's method of inspecting crates. nightly-2023-02-15 (1.69.0) I think is the last nightly to support this code.

The mentioned recommended alternatives involve using rust-analyzer, which is sub-optimal because the entire point of this tool is to show you how rustc sees things, and r-a is a separate implementation and is imperfect in its analysis.

Maybe I could make a compiler driver similar to how rustdoc works, but it'll be a lot of work and probably very fragile :(

@wfraser wfraser closed this as completed Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant