Skip to content

Add experimental wasm64 support and prepare v0.13.0 - #238

Merged
vishvananda merged 5 commits into
mainfrom
feat/wasm64-unkernel
Nov 28, 2026
Merged

vishvananda merged 5 commits into
mainfrom
feat/wasm64-unkernel

Conversation

@vishvananda

Copy link
Copy Markdown
Owner

Changes

  • Add the experimental freestanding wasm64 target with memory64 and table64. Link its relocatable objects with an external Wasm linker.
  • Emit GNU-style Wasm assembly with -S for wasm32 and wasm64. Support the import directives and typed inline assembly used by unkernel.
  • Add -ftrivial-auto-var-init=zero in shared lowering and cover it with PA38 runtime tests. Preserve adjacent storage when assigning GNU C empty records.
  • Bump the compiler version to 0.13.0.

Validation

  • All 11,785 strict tests passed. PA37 and PA38 tests, debug-info checks, self-host comparison, harness, audits, and the student export passed.
  • Replayed 924 target build outputs for single-CPU unkernel at -O2, with stack zeroing enabled on 921 commands. The four -S outputs matched all 228 Kbuild layout records. Both the wasm64 kernel and its Binaryen-lowered image booted and powered off with exit code 0.
  • Rebuilt cppgm, verified cppgm --version, and passed the release packaging tests after the version bump.

@vishvananda
vishvananda merged commit cebc599 into main Nov 28, 2026
45 of 46 checks passed
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