Skip to content
File

Blob: src/workerd/io/wasm/signal-no-globals.wat

313 bytes
1;; Module that exports memory but neither __instance_signal nor __instance_terminated.
2;; The shim should NOT register this module — it should instantiate without error.
3 
4(module
5 (memory (export "memory") 1)
6 
7 (func (export "add") (param i32 i32) (result i32)
8 (i32.add (local.get 0) (local.get 1))
9 )
10)