wit-component 0.247.0

Tooling for working with `*.wit` and component files together.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
(module
  (import "__main_module__" "the_entrypoint" (func $entry))

  (global $nargs (mut i32) (i32.const 0))

  (func (export "entrypoint") (param $nargs i32)
    (global.set $nargs (local.get $nargs))
    call $entry
  )

  (func (export "nargs") (result i32)
    global.get $nargs)
)