WIT package, MoonBit components, Node host and tests (WIP)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
SpriteandClaude Sonnet 5.5 committed 2026-11-24 23:36:35 +00:00
1 parent e5548fc067
commit e0bde1d150
125 files changed
+8681

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
import {
"moonplasma/desktop/components/shell/gen/interface/moonplasma/desktop/desktop-surface" @desktop-surface,
"moonplasma/desktop/components/shell/gen/interface/moonplasma/desktop/panel-layout" @panel-layout,
}
warnings = "-44"
pkgtype(kind: "foreign_library")
options(
link: {
"wasm": {
"export-memory-name": "memory",
"heap-start-address": 16,
"exports": [
"mbt_ffi_cabi_realloc:cabi_realloc",
"wasmExportComputeLayout:moonplasma:desktop/panel-layout@0.1.0#compute-layout",
"wasmExportComputeLayoutPostReturn:cabi_post_moonplasma:desktop/panel-layout@0.1.0#compute-layout",
"wasmExportPopupPosition:moonplasma:desktop/panel-layout@0.1.0#popup-position",
"wasmExportRenderBackground:moonplasma:desktop/desktop-surface@0.1.0#render-background",
"wasmExportRenderBackgroundPostReturn:cabi_post_moonplasma:desktop/desktop-surface@0.1.0#render-background",
"wasmExportRenderPanel:moonplasma:desktop/panel-layout@0.1.0#render-panel",
"wasmExportRenderPanelPostReturn:cabi_post_moonplasma:desktop/panel-layout@0.1.0#render-panel"
],
},
},
)