Skip to content

Conversation

@avrabe
Copy link
Contributor

@avrabe avrabe commented Dec 13, 2025

Summary

  • Migrate from standalone Wizer toolchain to wasmtime's built-in wizer (v39.0.0+)
  • Remove all standalone wizer infrastructure (toolchain, checksums, tools)
  • Update wasm_component_wizer rules to use wasmtime_toolchain_type

Breaking Change

Init function name changed: wizer.initializewizer-initialize

// Before
#[export_name = "wizer.initialize"]
pub extern "C" fn init() { ... }

// After  
#[export_name = "wizer-initialize"]
pub extern "C" fn init() { ... }

Changes

  • Remove toolchains/wizer_toolchain.bzl and related infrastructure
  • Remove tools/wizer_initializer Rust tool
  • Remove checksums/tools/wizer.json
  • Update wasm/wasm_component_wizer.bzl to use wasmtime wizer subcommand
  • Update default wasmtime version to 39.0.1
  • Update examples to use new wizer-initialize export name
  • Update documentation

Test plan

  • CI passes (all toolchain and build tests)
  • wizer_example builds correctly with wasmtime wizer
  • Documentation reflects new wasmtime-based approach

Closes #246

BREAKING CHANGE: Init function name changed from `wizer.initialize` to `wizer-initialize`

As of wasmtime v39.0.0 (November 2025), Wizer has been merged into Wasmtime
and is available as the `wasmtime wizer` subcommand. This eliminates the need
for a standalone wizer toolchain.

Changes:
- Remove standalone wizer toolchain infrastructure
- Update wasm_component_wizer rules to use wasmtime_toolchain_type
- Update default wasmtime version to 39.0.1
- Update init function name in examples to `wizer-initialize`
- Remove tools/wizer_initializer Rust tool
- Remove checksums/tools/wizer.json
- Update documentation to reflect wasmtime wizer usage

Closes #246
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.

Migrate from standalone Wizer to wasmtime-wizer

2 participants