Skip to content

Conversation

@elbe0046
Copy link

Incorporate dtolnay/proc-macro2#220 to fix the case where a binary which is built with panic = "abort" aborts when calling into cbindgen functionality.

Addresses #569.

While there is a test included that covers both additions I haven't made any changes to documentation. If there is desire to have these changes land in some form I'd just be looking for guidance on what doc changes would be appropriate, if any, in addition to any feedback on the overall direction of this change. Thanks!

Incorporate dtolnay/proc-macro2#220 to fix
the case where a binary which is built with `panic = "abort"` aborts
when calling into cbindgen functionality.

mozilla#569

Signed-off-by: Grant Elbert <elbe0046@gmail.com>
@emilio
Copy link
Collaborator

emilio commented Jun 21, 2021

Does this have any performance implications? Can the panic=abort binary call this instead?

@elbe0046
Copy link
Author

Can the panic=abort binary call this instead?

Of course, good thinking - thanks for the quick turnaround too!

@elbe0046 elbe0046 closed this Jun 21, 2021
@elbe0046 elbe0046 deleted the force-proc-macro-fallback branch June 21, 2021 22:27
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.

2 participants