options(
"is-main": true,
link: { "wasm": { "export-memory-name": "memory" } },
)moon run --target wasm sys/internal/demo -- ls sys
wasmtime run --dir . _build/wasm/debug/build/sys/internal/demo/demo.wasm ls syspub struct File {
// private fields
}pub struct Process {
// private fields
}fn env_var(name : String) -> String?fn ignore_sigpipe() -> Unitfn mmap_supported() -> Boolfn path_exists(path : String) -> Boolfn run_command(program : String, args : Array[String], stdin_path? : String) -> ProcessOutput raise IOErrorfn stdin_is_readable() -> Bool