Skip to content
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

Update wasm-rt-impl.h #2531

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

whirlicote
Copy link

It appears to me that the wasm_rt_impl_try macro should have been defined in the wasm-rt-exceptions.h header.

This pull request tries to improve the documentation on the current situation in order to improve the user experience.

document quirks of wasm_rt_impl_try for better UX
@sbc100
Copy link
Member

sbc100 commented Jan 18, 2025

@SoniEx2

@SoniEx2
Copy link
Collaborator

SoniEx2 commented Jan 19, 2025

uh, actually we believe this is a bug! think this got overlooked during the implementation of EHv3 (cc @keithw )

further, we believe this code technically triggers UB, ref.: https://www.iso-9899.info/n1570.html#7.13.1.1

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.

3 participants