Repository navigation
Add support for wasm32-wasip3 components - #5
Merged
Merged
Conversation
The target for a component may be overridden in Cargo.toml with:
[package.metadata.componentized]
target = "wasm32-wasip3"
Cooperative threads support currently requires rust 1.100 (currently
beta), and a custom wasi-sdk and wasi-libc.
The version of wasi-sdk can be specified with `WASI_SDK_VERSION`.
The version of wasi-libc can be specified with `WASI_LIBC_VERSION`.
To normalize the wasi import versions set `WASI_LIBC_WASI_VERSION`. Use
of this value may make future update brittle if there are meaningful
changes to the wasi wit interfaces.
As the toolchain matures, these customizations may be removed from
build.
Signed-off-by: Scott Andrews <scott@andrews.me>
Signed-off-by: Scott Andrews <scott@andrews.me>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The target for a component may be overridden in Cargo.toml with:
Cooperative threads support currently requires rust 1.100 (currently beta), and a custom wasi-sdk and wasi-libc.
The version of wasi-sdk can be specified with
WASI_SDK_VERSION.The version of wasi-libc can be specified with
WASI_LIBC_VERSION.To normalize the wasi import versions set
WASI_LIBC_WASI_VERSION. Use of this value may make future update brittle if there are meaningful changes to the wasi wit interfaces.As the toolchain matures, these customizations may be removed from build.