Skip to content

Conversation

@avrabe
Copy link
Contributor

@avrabe avrabe commented Jan 31, 2026

Summary

  • Update wasmtime from 39.0.1 to 41.0.1 (2 major versions)
  • Add MoonBit signed integer tests to track upstream wit-bindgen bug #1518

Changes

Wasmtime 41.0.1

Key improvements in wasmtime 41.x:

  • Component Model async improvements (threading intrinsics)
  • Winch compiler enhancements
  • GC improvements and memory leak fixes
  • Improved wasmtime wizer subcommand stability

⚠️ Note: Winch on AArch64 has a SHA256 miscompile bug (upstream #12423). Use Cranelift for crypto workloads on ARM64.

MoonBit Integration Tests

New test directory test/moonbit/ with:

  • signed_integers.wit - WIT interface with s8/s16/s32 types
  • signed_integers.mbt - MoonBit implementation
  • moonbit_component_tests.bzl - Analysis test rules

Tests are tagged manual because MoonBit toolchain is only available on darwin_arm64, linux_amd64, windows_amd64.

Related Issues

Tracking issues created for upstream bugs:

Test plan

  • bazel build //examples/wizer_example:expensive_init_component - wasmtime works
  • bazel build //test/moonbit:signed_integers_component - MoonBit tests build
  • bazel test //test/moonbit:signed_integers_analysis_test - Analysis test passes
  • CI passes

🤖 Generated with Claude Code

avrabe and others added 2 commits January 31, 2026 18:18
Update from 39.0.1 to 41.0.1 (2 major versions).

Key changes in wasmtime 41.x:
- Component Model async improvements (threading intrinsics)
- Winch compiler enhancements
- GC improvements and memory leak fixes
- Improved `wasmtime wizer` subcommand stability

Note: Winch on AArch64 has a SHA256 miscompile bug (upstream #12423).
Use Cranelift for crypto-heavy workloads on ARM64.

Removed old versions (35.0.0, 37.0.2) - keeping 41.0.1 + 39.0.1 for rollback.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add tests for MoonBit signed integer types (s8, s16) to track
upstream wit-bindgen bug #1518.

New files:
- test/moonbit/signed_integers.wit - WIT with s8/s16 type exports
- test/moonbit/signed_integers.mbt - MoonBit implementation
- test/moonbit/moonbit_component_tests.bzl - Analysis test rules
- test/moonbit/BUILD.bazel - Test targets

Tests verify:
- moonbit_wasm_component provides WasmComponentInfo
- Components with s8/s16 types build successfully
- Component exports match WIT interface

Note: Tests are tagged 'manual' because MoonBit toolchain is only
available on darwin_arm64, linux_amd64, windows_amd64.

Related: #325, #326 (tracking upstream bugs)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@avrabe avrabe merged commit 636d1c2 into main Jan 31, 2026
25 checks passed
@avrabe avrabe deleted the feature/ecosystem-updates-2026-01 branch January 31, 2026 18:09
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.

2 participants