-
Notifications
You must be signed in to change notification settings - Fork 1.7k
rust-lang/rust: guide recommends disabling proc macro server. we should make it work #9201
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
That |
Oh, shoot, you're probably right. Still, this recommendation to turn off proc macro server has been in the dev guide for at least a few months, and it should be investigated why it is needed, as it worsens dev experience. |
Enabling proc macros requires us to compile the proc macros, and AFAIK currently there's no way to override the |
Current failure modes I've observed:
But really, regardless of whether RA should run env CFG_RELEASE= CFG_RELEASE_CHANNEL= RUSTC_INSTALL_BINDIR= cargo check -p rustc_driver This succeeded for me. It might not always, but it has a better chance than |
Opened
compiler/rustc_hir/src/hir.rs
and had the proc macro server segfault. I have #9047 applied locally, so I hope it's not that ABI thing but I cannot promise it.Rust version
rustc 1.54.0-nightly (657bc0188 2021-05-31)
.Although I think the following things are probably useless/uninformative, I'll give them anyway.
Backtrace of one of the segfaults
Ugly r-a request logs. maybe useful? unsure
cc #8915
The text was updated successfully, but these errors were encountered: