Skip to content

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