import { "moonbitlang/core/builtin", "moonbitlang/core/env" @env, "moonplasma/desktop/interface/moonplasma/host/sys" @hostsys, "moonplasma/desktop/interface/moonplasma/host/raster" @hostraster, } supported_targets = "+native+wasm" // Native: POSIX through a C shim. Wasm (the compositor as a component): the same API over the // moonplasma:host/sys imports, implemented by the native host. options( targets: { "sys_native.mbt": ["native"], "sys_wasm.mbt": ["wasm"], }, "native-stub": [ "sys_stub.c" ], )