Files
cli/vendor/wit-component/tests/components/multi-package/component.wat

45 lines
1.4 KiB
Plaintext
Raw Normal View History

(component
(core module $main (;0;)
(table (;0;) 1 funcref)
(memory (;0;) 17)
(global (;0;) (mut i32) i32.const 1048576)
(global (;1;) (mut i32) i32.const 1048576)
(global (;2;) (mut i32) i32.const 0)
(global (;3;) (mut i32) i32.const 1048592)
(global (;4;) (mut i32) i32.const 1114112)
(export "__stack_pointer" (global 0))
(export "__stack_high" (global 1))
(export "__stack_low" (global 2))
(export "__heap_base" (global 3))
(export "__heap_end" (global 4))
(export "__indirect_function_table" (table 0))
(export "memory" (memory 0))
(@producers
(processed-by "wit-component" "$CARGO_PKG_VERSION")
)
)
(core module $__init (;1;)
(type (;0;) (func))
(type (;1;) (func (param i32)))
(import "env" "memory" (memory (;0;) 0))
(import "env" "__indirect_function_table" (table (;0;) 0 funcref))
(start 0)
(elem (;0;) (i32.const 1) func)
(elem (;1;) (i32.const 1) func)
(func (;0;) (type 0))
(data (;0;) (i32.const 1048576) "\00\00\00\00\00\00\10\00")
(@producers
(processed-by "wit-component" "$CARGO_PKG_VERSION")
)
)
(core instance $main (;0;) (instantiate $main))
(alias core export $main "memory" (core memory $memory (;0;)))
(core instance $__init (;1;) (instantiate $__init
(with "env" (instance $main))
)
)
(@producers
(processed-by "wit-component" "$CARGO_PKG_VERSION")
)
)