Files
chandra/wasmhost/bin/stubs.mbt
T
Claude f52a5ff40e
CI / test (push) Failing after 17s
wasmhost: panel modules, through compositor/wasm on libwasmtime's wasm.h
The native compositor's module runtime (compositor/wasm) only uses the standard
wasm.h API, which libwasmtime implements as well as libwasmer, so the MoonBit host
serves chandra:host/plasmoids with it: the same capabilities, tables and requests
as the native build, from the same code. The nested window (--window) works too:
a wasmhost compositor runs inside another one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiNfjrw2edja7LiRLB
2026-11-25 19:45:55 +00:00

24 lines
477 B
MoonBit

///| Interfaces not served yet (filled in stage by stage).
///|
fn display_wait_fds() -> Array[Int] {
[]
}
///|
fn display_funcs() -> Array[(String, (Array[@wt.Val]) -> Array[@wt.Val])] {
[
("open", _ => [Option(None)]),
("poll", _ => [Bool(false)]),
("frame-ready", _ => [Bool(false)]),
("present", _ => none),
("present-frame", _ => none),
("set-cursor-shape", _ => none),
("take-input", _ => [List([])]),
("close", _ => none),
]
}