Files
marqdo/crates/marqdo-wasm/README.md
T
cflmy 9331af78e2 release(2.8.0): 合入 CHANGELOG/README/发版说明/skills prove 任务;CI 链接指向 doc/releases
- CHANGELOG.md:v2.8.0 条目(中英双语);
- README.md:版本行 2.7.1→2.8.0 + 愿景第 6 条(知识可证明);
- doc/releases/v2.8.0.md:双语发版说明(亮点/用法/已知限制);
- skills/marqdo-dev/index.mq.md:新增 prove 任务(路径/目录模式/
  require_lean/json;参数用 + 行声明升参,check 与 narrative-ratio 通过);
- 设计文档 §12.5 标记已合入;发版链接统一指向 doc/releases/v2.8.0.md。
2026-11-18 10:29:26 +08:00

1.0 KiB
Executable File

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 call skills/marqdo-dev/index.mq.md build_browser --effects plugin,process.exec,fs.write --fs-root . --json
# 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.

Use the maintained browser-app for a runnable native Document and browser program. The ABI counter fixture lives in tests/wasm/counter.mq.md, with no independent HTML demo host. The former browser-hello and browser-media directories were retired in 2.7.0; their host capabilities remain documented in lib/browser.mq.md.