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

Add a new crate to generate host WIT code #906

Closed
14 tasks done
jvff opened this issue Jul 24, 2023 · 0 comments · Fixed by #1910
Closed
14 tasks done

Add a new crate to generate host WIT code #906

jvff opened this issue Jul 24, 2023 · 0 comments · Fixed by #1910
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@jvff
Copy link
Contributor

jvff commented Jul 24, 2023

Motivation

wit-bindgen has recently been changed to only generate guest-side code. Host-side code must now be generated by separate crates specific for each Wasm runtime. Also, the generated host code didn't support reentrant calls.

Solution

Create a new crate to generate the host side code for both the Wasmer and Wasmtime runtimes and that supports reentrant calls.

The new crate should also use Rust code as the source-of-truth, and support generating WIT files for wit-bindgen to use to generate the guest code.

Merge plan

Since this new crate is non-trivial, merging it will be split into several PRs.

@jvff jvff added the enhancement New feature or request label Jul 24, 2023
@jvff jvff added this to the Devnet milestone Jul 24, 2023
@jvff jvff self-assigned this Jul 24, 2023
@jvff jvff moved this to In Progress in Wasm VM Integration Jul 24, 2023
@ma2bd ma2bd modified the milestones: Devnet, Testnet Feb 10, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in Wasm VM Integration Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants