sock_shutdown.wast 446 B

1234567891011121314151617
  1. (module
  2. (type (func))
  3. (type (func (param i32 i32) (result i32)))
  4. (type (func (param i32)))
  5. (import "wasi_snapshot_preview1" "sock_shutdown" (func $sock_shutdown (type 1)))
  6. (import "wasi_snapshot_preview1" "proc_exit" (func $proc_exit (type 2)))
  7. (func $_start
  8. (call $sock_shutdown
  9. (i32.const 3)
  10. (i32.const 3)
  11. )
  12. call $proc_exit
  13. )
  14. (memory 2)
  15. (export "memory" (memory 0))
  16. (export "_start" (func $_start))
  17. )