Skip to content

Add support for wasm32-wasip3 components - #5

Merged
scothis merged 2 commits into
componentized:mainfrom
scothis:wasm32-wasip3
Oct 27, 2026
Merged

scothis merged 2 commits into
componentized:mainfrom
scothis:wasm32-wasip3

Conversation

@scothis

@scothis scothis commented Oct 27, 2026

Copy link
Copy Markdown
Member

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.

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>
@scothis
scothis merged commit d5b38ea into componentized:main Oct 27, 2026
12 checks passed
@scothis
scothis deleted the wasm32-wasip3 branch October 27, 2026 19:57
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.

1 participant