Skip to content

Expanding proc macros fail in the latest rust nightly #12495

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

Closed
tamasfe opened this issue Jun 8, 2022 · 1 comment
Closed

Expanding proc macros fail in the latest rust nightly #12495

tamasfe opened this issue Jun 8, 2022 · 1 comment

Comments

@tamasfe
Copy link
Contributor

tamasfe commented Jun 8, 2022

Expanding proc macros in the following codebase seem to fail with the messages:

memory allocation of 140637737325848 bytes failed
[ERROR rust_analyzer::reload] proc macro server crashed: server exited
[ERROR rust_analyzer::reload] proc macro server crashed: failed to write request: Broken pipe (os error 32)
...

Unfortunately I don't have an MRE for this.

Possible workaround could be installing ~130 TiB RAM which I haven't tried.

rust-analyzer version: rust-analyzer version: ad6810e 2022-06-06 stable
rustc version: rustc 1.63.0-nightly (5435ed691 2022-06-07)

@lnicola
Copy link
Member

lnicola commented Jun 8, 2022

Dupe of #12489

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

2 participants