wasmhost: panel modules, through compositor/wasm on libwasmtime's wasm.h
CI / test (push) Failing after 17s
CI / test (push) Failing after 17s
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
This commit is contained in:
3 files changed
+523
-25
No files matched your search
@@ -21,28 +21,3 @@ fn display_funcs() -> Array[(String, (Array[@wt.Val]) -> Array[@wt.Val])] {
|
||||
]
|
||||
}
|
||||
|
||||
///|
|
||||
fn plasmoid_funcs() -> Array[(String, (Array[@wt.Val]) -> Array[@wt.Val])] {
|
||||
[
|
||||
("load", _ => [Result(false, Some(Str("not yet")))]),
|
||||
("unload", _ => none),
|
||||
("set-tokens", _ => none),
|
||||
("render", _ => [List([])]),
|
||||
("popup", _ => [Option(None)]),
|
||||
("on-event", _ => [Bool(false)]),
|
||||
("config-items", _ => [List([])]),
|
||||
("set-config", _ => [Bool(false)]),
|
||||
("publish-table", _ => none),
|
||||
("publish-state", _ => none),
|
||||
("publish-wallpaper", _ => none),
|
||||
("publish-session-settings", _ => none),
|
||||
("publish-screenshot", _ => none),
|
||||
("publish-system", _ => none),
|
||||
("publish-windows", _ => none),
|
||||
("next-request", _ => [Option(None)]),
|
||||
("take-focus-request", _ => [Option(None)]),
|
||||
("list-wasm-files", _ => [List([])]),
|
||||
("picker-start", _ => [Bool(false)]),
|
||||
("picker-poll", _ => [Variant("cancelled", None)]),
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user