-
Notifications
You must be signed in to change notification settings - Fork 1.7k
proc macro server crashing due to corrupted proc_macro::bridge::client::ProcMacro::Bang
name
#12489
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
Comments
This is caused by a change in rustc and not in rust-analyzer. There have been several changes in the proc macro abi last week: https://github.com/rust-lang/rust/commits/master/library/proc_macro Note that nightly rustc is not guaranteed to have working proc macros with rust-analyzer. Instead we handle it on a best-effort case for nightly. The proc macro abi is not stable and just an implementation detail of rustc. For this reason we have a copy of the proc macro server for every rustc version with a different proc macro abi. @alexjg would you mind updating for the latest proc macro changes? |
@bjorn3 Thanks for the explanation. The text you quoted comes from the issue template. |
I see. My bad. |
TBF, it's from the regression issue template 😄. |
I'm on holiday this week but should be able to sort this next week unless someone else gets there first |
I'm going to give it a try then. Enjoy your holiday! |
Opened #12492 |
Patch to see what's going on
What's going on
This is a serious regression in nightly and it's important to fix it before the next release.
@matklad, please take a look.
The text was updated successfully, but these errors were encountered: