[wasm] Add W0 scoot-wasm bytecode host - #145
Merged
Merged
Conversation
jamiesun
marked this pull request as ready for review
June 26, 2026 14:02
This was referenced Jun 26, 2026
Merged
jamiesun
added a commit
that referenced
this pull request
Jun 27, 2026
- wasm host W0-W4: integer, WASI preview1, type validation, float execution (#145, #147, #148, #149, #162) - feat: wasm_tool action for compute-only packages (#154) - wasm: narrow plugin sandbox to stdin/stdout/stderr/argv as a new hard rule (#164) - feat: committed playground test environment with full action coverage (#161) - release: single ReleaseSafe flavor, ship scoot-wasm artifacts, Homebrew tap (#166) - fix(release): reference SCOOT_DOCKERHUB_* secrets so Docker Hub login is attempted - docs: README rewrite + infographic, English comment translation (#160, #165, #146, #153) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Summary
-Dwasm-host=truebuild option that installs the standalonescoot-wasmbinaryscoot wasm-tools checkso package validation reads and validatescomponent.wasmstructure without executing WasmRefs #100. This intentionally keeps W1-W4 VM, validator, engine, and WASI execution work out of this PR.
Validation
env ZIG_GLOBAL_CACHE_DIR=/tmp/zig-cache zig build testenv ZIG_GLOBAL_CACHE_DIR=/tmp/zig-cache zig build -Dwasm-host=truemdbook build book/enmdbook build book/zh./zig-out/bin/scoot-wasm check /tmp/scoot-empty.wasm./zig-out/bin/scoot-wasm check /tmp/scoot-bad.wasmreturns the expected failure./zig-out/bin/scoot wasm-tools check /tmp/scoot-wasm-tool-check./zig-out/bin/scoot-wasm check /tmp/scoot-add.wasmfor a temporary PIC-built Zig wasm fixtureNote: local pre-push CI also passed during
git push -u origin feat/wasm-host-w0.