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

Somehow support exceptions #15

Open
gkgoat1 opened this issue Sep 1, 2024 · 1 comment
Open

Somehow support exceptions #15

gkgoat1 opened this issue Sep 1, 2024 · 1 comment

Comments

@gkgoat1
Copy link

gkgoat1 commented Sep 1, 2024

Rust added wasm unwinding using exceptions, so support would be great (both in the main repo and my fork)

Intruoduction: rust-lang/rust#121438

@cfallin
Copy link
Owner

cfallin commented Sep 3, 2024

@gkgoat1 if you're interested in working on this, I'd be happy to review the work! The main design question is how this manifests in the IR; we're addressing the parallel question over in Cranelift right now so I suspect we can wait to see how that looks (likely something like LLVM's invoke instruction, with two branch targets, putting the exceptional control flow into the CFG) and then follow whatever works.

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

2 participants