Skip to content

handle traps in owi iso #583

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

Open
zapashcanon opened this issue Mar 31, 2025 · 0 comments
Open

handle traps in owi iso #583

zapashcanon opened this issue Mar 31, 2025 · 0 comments

Comments

@zapashcanon
Copy link
Member

for now it only works if the two exports do not fail, we should instead call the function independently and check the result like this:

match exec_vfunc f1, execvfun f2 with
| Trap _, Trap _ -> Ok ()
| Expr e1, Expr e2 -> assert_equal e1 e2
| _, _ -> Error ...
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

No branches or pull requests

1 participant