wasm_test.nx
buildroot/runtime/wasm_test.nx
about
wasm_test.nx -- self-test for wasm.nx.
Builds a trivial IR module `func main() -> i64 { return 10 + 20 }`,
runs wat_emit_module over it, verifies the output buffer is non-
empty and contains some known WAT tokens.
dependencies 5 imports · 0 importers
imports: syscalls.nxtypes.nxir.nxoutbuf.nxwasm.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 14 | func contains(buf: *u8, buf_len: i64, needle: *u8) -> i64 {
called by 1: main |
| 31 | func main() -> i64 { |