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

Start supporting the wasm32-wasip2 target #892

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

alexcrichton
Copy link
Member

This commit adds some initial support for wasm32-wasip2 in wit-bindgen. Everything works as-is but one of the benefits of a new target is that we can move runtime bits such as cabi_realloc into the standard library rather than in this crate. This PR sets up infrastructure to test the wasm32-wasip2 target and additionally assumes rust-lang/rust#122411 for providing the implementation of cabi_realloc.

This commit adds some initial support for `wasm32-wasip2` in
`wit-bindgen`. Everything works as-is but one of the benefits of a new
target is that we can move runtime bits such as `cabi_realloc` into the
standard library rather than in this crate. This PR sets up
infrastructure to test the `wasm32-wasip2` target and additionally
assumes rust-lang/rust#122411 for providing the implementation of
`cabi_realloc`.
@alexcrichton alexcrichton requested a review from dicej March 14, 2024 00:12
@alexcrichton alexcrichton added this pull request to the merge queue Mar 18, 2024
Merged via the queue into bytecodealliance:main with commit 72009e5 Mar 18, 2024
12 checks passed
@alexcrichton alexcrichton deleted the start-p2-support branch March 18, 2024 15:20
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 this pull request may close these issues.

3 participants