23 lines
1.2 KiB
Plaintext
23 lines
1.2 KiB
Plaintext
|
|
(module
|
||
|
|
(type $thread-start-func-ty (func (param i32)))
|
||
|
|
(import "[export]$root" "[task-cancel]" (func))
|
||
|
|
(import "[export]$root" "[task-return]foo" (func (param i32 i32)))
|
||
|
|
(import "[export]foo:foo/bar" "[task-return]foo" (func (param i32 i32)))
|
||
|
|
(import "$root" "[context-get-1]" (func (result i32)))
|
||
|
|
(import "$root" "[context-set-1]" (func (param i32)))
|
||
|
|
(import "$root" "[thread-index]" (func (result i32)))
|
||
|
|
(import "$root" "[thread-new-indirect-v0]" (func (param i32 i32) (result i32)))
|
||
|
|
(import "$root" "[thread-switch-to]" (func (param i32) (result i32)))
|
||
|
|
(import "$root" "[thread-suspend]" (func (result i32)))
|
||
|
|
(import "$root" "[thread-resume-later]" (func (param i32)))
|
||
|
|
(import "$root" "[thread-yield-to]" (func (param i32) (result i32)))
|
||
|
|
(func (export "thread_main") (param i32) unreachable)
|
||
|
|
(func (export "[async-lift-stackful]foo") (param i32 i32) unreachable)
|
||
|
|
(func (export "[async-lift-stackful]foo:foo/bar#foo") (param i32 i32) unreachable)
|
||
|
|
(memory (export "memory") 1)
|
||
|
|
(table (export "__indirect_function_table") 1 1 funcref)
|
||
|
|
(elem (i32.const 0) func 0)
|
||
|
|
|
||
|
|
(func (export "cabi_realloc") (param i32 i32 i32 i32) (result i32) unreachable)
|
||
|
|
)
|