Skip to content

Add force_show_panics flag for proc-macro bridge #7047

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

Merged
merged 1 commit into from
Dec 27, 2020

Conversation

edwin0cheng
Copy link
Member

rust-lang/rust#75082 and rust-lang/rust#76292 added a new flag in proc_macro::Bridge such that the ABI was changed. These ABI changing are the reason of some weird panics which caused #6880 and maybe related to the panic mentioned in #6820.

These changes are landed on rust stable 1.48 so I think it is okay to apply it now.

fixes #6880

r @jonas-schievink

@lnicola
Copy link
Member

lnicola commented Dec 27, 2020

I no longer get any crashes with this PR.

@jonas-schievink
Copy link
Contributor

Looks good!

bors r+

@bors
Copy link
Contributor

bors bot commented Dec 27, 2020

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

Successfully merging this pull request may close these issues.

proc macro server dies too easily and loses panic messages
3 participants