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

Can't run module with tail calls #204

Closed
womeier opened this issue Jan 23, 2024 · 2 comments · Fixed by #205
Closed

Can't run module with tail calls #204

womeier opened this issue Jan 23, 2024 · 2 comments · Fixed by #205

Comments

@womeier
Copy link
Contributor

womeier commented Jan 23, 2024

As the title suggests, I'd like to run a Wasm module with tail calls.
Other proposals can be configured in the Config class, but not tail calls.

Would greatly appreciate it if there was an option for that as well.

@alexcrichton
Copy link
Member

Thanks for the report! Wasmtime supports the underlying feature here but the config option hasn't been surfaced yet from the Wasmtime C API into these bindings. If you're up for it a PR to add a method to expose this would be greatly appreciated! It'd look quite similar to the other methods of exposing wasm features.

@womeier
Copy link
Contributor Author

womeier commented Jan 24, 2024

thanks!

Created a PR, but need help with testing it, see the PR.

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 a pull request may close this issue.

2 participants