alexcrichton edited PR #11805.
alexcrichton edited PR #11805:
This PR is the second step after https://github.com/bytecodealliance/wasmtime/pull/11815 in what will be a few to merge the wizer and component-init repositories into this main repository. The goal is to consolidate these features here in Wasmtime and provide it as part of the
wasmtimeCLI itself. This is intended to reduce maintenance burden by only having one repo to manage instead of multiple. To that end the changes in this PR are:
- Subsequent commits adjust CI integration files, other management files, etc, to all fit within Wasmtime's repository.
- Commits then get the new
wasmtime-wizercrate compiling in this workspace and passing tests.- Commits then create a new
wasmtime wizersubcommand which has the same arguments/behavior ofwasmtime runby literally using the same implementation of execution internally (e.g. supports all WASI proposals and such)- Finally there's assorted miscellaneous things like getting the fuzzer compiling, benchmarks compiling, etc.
Overall I think this is in a good-enough state to upstream into this repository as a first step. The next step will be to refactor the internals of
wasmtime-wizerto be amenable for sharing withcomponent-inititself. This'll include trying to makewasmtime-wizermore runtime-agnostic by, in theory, having just a single trait that a runtime need implement and severing the dependency onwasmtime(or at least optionally severing the dependency).With such refactorings in place the next step I'd take is to fold the component-init repository into
wasmtime-wizer. That'll require yet more reorganization and finesse though so I'd like to split this across multiple PRs instead of having one large PR.
alexcrichton commented on PR #11805:
Ok rebased back on
mainnow withcrates/wizerin place. Should be good for review!
alexcrichton updated PR #11805.
fitzgen submitted PR review.
fitzgen created PR review comment:
If you're leaving this for a follow up, file an issue and reference it here?
fitzgen commented on PR #11805:
FYI I just merged https://github.com/bytecodealliance/wizer/pull/139 so I guess that should be rebased over here now? @alexcrichton @sunfishcode
alexcrichton updated PR #11805.
alexcrichton submitted PR review.
alexcrichton created PR review comment:
Oops forgot about this, handled now
alexcrichton commented on PR #11805:
Folded that commit in here. Isn't a literal cherry-pick but it's now implemented in-spirit in https://github.com/bytecodealliance/wasmtime/pull/11805/commits/a11110b40a74b9c30bb45a35339451c923a9d33e
alexcrichton has enabled auto merge for PR #11805.
alexcrichton updated PR #11805.
alexcrichton has disabled auto merge for PR #11805.
alexcrichton has enabled auto merge for PR #11805.
alexcrichton has disabled auto merge for PR #11805.
alexcrichton has disabled auto merge for PR #11805.
alexcrichton merged PR #11805.
Last updated: Dec 06 2025 at 06:05 UTC