Skip to content

Add WASM platform backend and build target - #66

Merged
meszmate merged 1 commit into
mainfrom
feature/wasm-target
Mar 26, 2026
Merged

meszmate merged 1 commit into
mainfrom
feature/wasm-target

Conversation

@meszmate

Copy link
Copy Markdown
Owner
  • Add platform/wasm.zig with JS host interop (extern imports for write, read, size, title)
  • Export zigzagResize, zigzagInputBuffer, zigzagPushInput for JS to call
  • Update terminal.zig with WASM-aware init, flush, getSize, isTty, and capability detection
  • Add zig build wasm step that produces a wasm32-freestanding static library
  • Native tests still pass, WASM build compiles cleanly

@meszmate
meszmate merged commit 98f7792 into main Mar 26, 2026
9 checks passed
@meszmate
meszmate deleted the feature/wasm-target branch March 31, 2026 03:37
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