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