-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Update RLS and Clippy due to #56732 (rustc_interface crate) #59073
Conversation
|
r=me for the clippy update |
The changes look good to me, but I wasn't expecting RLS to do code generation. @bors r+ |
📌 Commit 9a6a269 has been approved by |
I'll bump the prio due to lockfile and tools changes: @bors p=1 |
Yes. Passing |
Update RLS and Clippy due to #56732 (rustc_interface crate) Closes #59060. In addition to plain submodule bumps, this also contains update to rls-rustc. The in-tree, from the RLS monorepo, version is used instead of the crates.io one (@nrc I think we might stop publishing `rls-rustc` altogether, right? It's only there to work around passing `-Zsave-analysis` to stable `rustc` and meant to be used only by RLS, IIRC). @Zoxc also due to how we need to access the expanded AST still from the RLS side in order to pass save analysis data in-memory, I delayed the AST drop after the `after_analysis` callback if the `-Zsave-analysis` is passed. It'd be also good if you could take a look at the changes inside the `rls` and `rls-rustc`: rust-lang/rls@6a1b5a9...6840dd6. The `rls-rustc` is based on your [PR](rust-dev-tools/rls-rustc#11) but I also had to change some bits in the RLS itself. r? @Zoxc / @Manishearth
☀️ Test successful - checks-travis, status-appveyor |
Tested on commit rust-lang/rust@de5c3c4. Direct link to PR: <rust-lang/rust#59073> 🎉 rls on windows: build-fail → test-pass (cc @nrc @Xanewok, @rust-lang/infra). 🎉 rls on linux: build-fail → test-pass (cc @nrc @Xanewok, @rust-lang/infra).
Closes #59060.
In addition to plain submodule bumps, this also contains update to rls-rustc. The in-tree, from the RLS monorepo, version is used instead of the crates.io one (@nrc I think we might stop publishing
rls-rustc
altogether, right? It's only there to work around passing-Zsave-analysis
to stablerustc
and meant to be used only by RLS, IIRC).@Zoxc also due to how we need to access the expanded AST still from the RLS side in order to pass save analysis data in-memory, I delayed the AST drop after the
after_analysis
callback if the-Zsave-analysis
is passed.It'd be also good if you could take a look at the changes inside the
rls
andrls-rustc
: rust-lang/rls@6a1b5a9...6840dd6. Therls-rustc
is based on your PR but I also had to change some bits in the RLS itself.r? @Zoxc / @Manishearth