Debian Codegraph @

crates/wit-component/tests/components/threading/module.wat

raw
1 (module
2 (type $thread-start-func-ty (func (param i32)))
3 (import "[export]$root" "[task-cancel]" (func))
4 (import "[export]$root" "[task-return]foo" (func (param i32 i32)))
5 (import "[export]foo:foo/bar" "[task-return]foo" (func (param i32 i32)))
6 (import "$root" "[context-get-1]" (func (result i32)))
7 (import "$root" "[context-set-1]" (func (param i32)))
8 (import "$root" "[thread-index]" (func (result i32)))
9 (import "$root" "[thread-new-indirect-v0]" (func (param i32 i32) (result i32)))
10 (import "$root" "[thread-switch-to]" (func (param i32) (result i32)))
11 (import "$root" "[thread-suspend]" (func (result i32)))
12 (import "$root" "[thread-resume-later]" (func (param i32)))
13 (import "$root" "[thread-yield-to]" (func (param i32) (result i32)))
14 (func (export "thread_main") (param i32) unreachable)
15 (func (export "[async-lift-stackful]foo") (param i32 i32) unreachable)
16 (func (export "[async-lift-stackful]foo:foo/bar#foo") (param i32 i32) unreachable)
17 (memory (export "memory") 1)
18 (table (export "__indirect_function_table") 1 1 funcref)
19 (elem (i32.const 0) func 0)
20
21 (func (export "cabi_realloc") (param i32 i32 i32 i32) (result i32) unreachable)
22 )