Skip to content

fix: osxcar build script with per-component worlds#56

Merged
avrabe merged 1 commit intomainfrom
fix/osxcar-build-script
Mar 22, 2026
Merged

fix: osxcar build script with per-component worlds#56
avrabe merged 1 commit intomainfrom
fix/osxcar-build-script

Conversation

@avrabe
Copy link
Contributor

@avrabe avrabe commented Mar 22, 2026

Summary

  • Add per-component WIT worlds so each core module wraps individually
  • Use two-step wasm-tools component embed + component new workflow
  • Fix bash 3.2 compatibility (macOS default)
  • All three osxcar components wrap, validate, and fuse (20KB output, 9.8% reduction)

Test plan

  • bash tests/osxcar/build.sh succeeds
  • All three .component.wasm pass wasm-tools validate
  • meld fuse produces valid 20KB fused output

🤖 Generated with Claude Code

…orlds

- Add per-component WIT worlds (anti-pinch-v2-component, etc.) so each
  core module can be wrapped individually
- Use two-step wasm-tools workflow: embed WIT then component new
- Fix bash 3.2 compatibility (no associative arrays)
- All three components wrap, validate, and fuse successfully (20KB output)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@avrabe avrabe merged commit 9ed8ec1 into main Mar 22, 2026
3 of 4 checks passed
@avrabe avrabe deleted the fix/osxcar-build-script branch March 22, 2026 07:10
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