Files
marqdo/crates/marqdo-wasm
cflmyandCursor f95e5d3339 release: v1.0.2 — table-bound page intro (compose_intro)
Ship web_compose_intro / 引言装配 and web-site demo polish; bump Cargo and docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-16 21:05:49 +08:00
..

Marqdo browser WASM (route C)

Raw cdylib exports — no wasm-bindgen CLI required.

Export Role
mq_alloc / mq_dealloc linear memory
mq_run one-shot # main (C1)
mq_boot / mq_call session + handlers (C3)
mq_version version C string
# from repo root (C5 size profile)
marqdo wasm build -o examples/browser-hello
# or:
cargo build -p marqdo-wasm --target wasm32-unknown-unknown --profile release-wasm

Prints size in KiB; runs wasm-opt -Oz when Binaryen is on PATH.

See doc/design/browser-marqdo-wasm.md.