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

Trap toplevel suspensions #40

Open
dhil opened this issue Nov 3, 2023 · 0 comments
Open

Trap toplevel suspensions #40

dhil opened this issue Nov 3, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@dhil
Copy link
Member

dhil commented Nov 3, 2023

Patch #37 provides an implementation of the Wast directive assert_suspension, enabling us to run test cases for unhandled tags. However, our current implementation traps differently depending on whether the suspension occurs in a continuation context or the main stack. In case of the latter it triggers an unrecoverable panic, which the assert_suspension cannot (and should not!) handle. Consequently, we are unable to run test cases with toplevel suspensions at the moment.

@dhil dhil added the bug Something isn't working label Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant