Fix WASM kernel deploy: 3.6MB js_of_ocaml → 68KB wasm_of_ocaml

The deployed sx_browser.bc.wasm.js was actually the js_of_ocaml output
(pure JS), not the wasm_of_ocaml loader. Nothing synced the correct
build output from _build/ to shared/static/wasm/.

- sx_build target=ocaml now auto-syncs WASM kernel + JS fallback + assets
- sx-build-all.sh syncs after dune build
- Correct 68KB WASM loader replaces 3.6MB JS imposter

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-30 13:10:13 +00:00
parent e14947cedc
commit 03c2115f0d
5 changed files with 7693 additions and 45267 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long