Files
marqdo/crates/marqdo-wasm
cflmyandCursor 98018fc63b feat(web): SSR nav brand/client embed and form markdown labels
Replace author theme.js with framework chrome (nav brand, theme boot,
client mount) plus bridge scroll/observe helpers; add form submit copy
and type=markdown textareas so sites can drop business JS.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 12:42:50 +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.