Skip to content

Add spacewasi crate#26

Open
cole-wilson wants to merge 24 commits into
mainfrom
cole/wasi-crate
Open

Add spacewasi crate#26
cole-wilson wants to merge 24 commits into
mainfrom
cole/wasi-crate

Conversation

@cole-wilson

@cole-wilson cole-wilson commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Add an implementation of the wasi_snapshot_preview1 WASI bindings and a command line binary to run arbitrary WASI mvp modules.

This crate uses wasmtime's internal binding functions for the actual WASI implementations, from the wasi-common crate.

Future extension is possible for preview2 through the same interface.

There is also a simple make_mvp bash script which "lowers" WASM binaries to MVP levels that can be run in spacewasm.

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown

Code Coverage Report

Current Coverage: 89.96%
Baseline Coverage (main): 90.00%
Difference: -0.04%

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown

CoreMark Benchmark Results

Current Score: 238.209
Baseline Score (main): 242.483
Difference: -4.274 (-1.76%)

@cole-wilson cole-wilson marked this pull request as ready for review July 9, 2026 23:29
@cole-wilson cole-wilson requested a review from Kronos3 July 9, 2026 23:30
@cole-wilson

cole-wilson commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator Author

Checks are currently failing due to the use of llvm and wasi-sdk for compiling the wasi test cases, and it is not installed on the runner yet.

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