///|
#cfg(target="wasm")
fn runtime_wasm_exit(code : Int) -> Unit = "wasi_snapshot_preview1" "proc_exit"
///|
#cfg(target="wasm-gc")
fn runtime_wasm_exit(code : Int) -> Unit = "__moonbit_sys_unstable" "exit"
///|
#cfg(any(target="wasm", target="wasm-gc"))
fn runtime_exit(code : Int) -> Unit {
runtime_wasm_exit(code)
}