wasm-tools 1.0.49

CLI tools for interoperating with WebAssembly files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
;; --enable-exceptions

(module $m
  (type (func))
  (tag $exn (type 0))
  (func (try (do)))
  (func (try (do) (catch $exn)))
  (func (try (do) (catch $exn rethrow 0)))
  (func (try (do) (catch_all rethrow 0)))
  (func (try (do) (catch $exn) (catch_all rethrow 0)))
  (func (try (do (try (do) (delegate 0))) (catch $exn)))
  (func (result i32)
    (try (result i32)
      (do (i32.const 42))
      (catch $exn (i32.const 42)))))