-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start supporting the
wasm32-wasip2
target (#892)
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`.
- Loading branch information
1 parent
cf15f41
commit 00f46e5
Showing
4 changed files
with
32 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters