feat(gfx): integrate wasi-gfx for loading and presenting GUI
CI / test (push) Successful in 24s

This commit is contained in:
Antigravity committed 2026-11-25 02:54:03 +00:00
1 parent ccb809bdc3
commit 7caadb3f7f
59 files changed
+7495 -16

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
import {
"moonplasma/desktop/components/gfx-gui/gen/world/gui-loader" @gui-loader,
}
warnings = "-44"
supported_targets = "wasm"
pkgtype(kind: "foreign_library")
options(
link: {
"wasm": {
"export-memory-name": "memory",
"heap-start-address": 16,
"exports": [
"mbt_ffi_cabi_realloc:cabi_realloc",
"wasmExportInitGui:init-gui",
"wasmExportOnKey:on-key",
"wasmExportOnPointer:on-pointer",
"wasmExportOnResize:on-resize",
"wasmExportRenderFrame:render-frame"
],
},
},
)