pchickey opened PR #10128 from bytecodealliance:pch/min_platform_wasi
to bytecodealliance:main
:
This example demonstrates how to use wasmtime-wasi-io and a custom async executor as the basis for a custom WASI implementation in a restricted environment.
It is built on the existing min-platform example. Its enabled by default, but can be disabled to demonstrate that, without component and WASI support, the min-platform example can run on a much smaller memory footprint (see examples/min-platform/embedding/src/allocator.rs
INITIAL_HEAP_SIZE
) and without any of the wasmtime crate features required for component-model and async.This provides some test coverage that wasmtime-wasi-io executes in a no_std target (previously CI only built it), and that wasmtime-wit-bindgen can generate exports for a no_std target (see https://github.com/bytecodealliance/wasmtime/pull/10105)
pchickey requested wasmtime-core-reviewers for a review on PR #10128.
pchickey requested wasmtime-default-reviewers for a review on PR #10128.
pchickey requested dicej for a review on PR #10128.
pchickey updated PR #10128.
dicej submitted PR review.
dicej created PR review comment:
Incomplete/truncated sentence in comment?
pchickey updated PR #10128.
pchickey submitted PR review.
pchickey created PR review comment:
Thanks
pchickey updated PR #10128.
pchickey merged PR #10128.
Last updated: Feb 28 2025 at 03:10 UTC