forked from bytecodealliance/wasm-tools
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcomponent.wat
More file actions
38 lines (38 loc) · 902 Bytes
/
component.wat
File metadata and controls
38 lines (38 loc) · 902 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
(component
(core module (;0;)
(type (;0;) (func))
(func (;0;) (type 0)
unreachable
)
(func (;1;) (type 0)
unreachable
)
(export "a" (func 0))
(export "_initialize" (func 1))
(@producers
(processed-by "wit-component" "$CARGO_PKG_VERSION")
(processed-by "my-fake-bindgen" "123.45")
)
)
(core instance (;0;) (instantiate 0))
(alias core export 0 "_initialize" (core func (;0;)))
(core module (;1;)
(type (;0;) (func))
(import "" "" (func (;0;) (type 0)))
(start 0)
)
(core instance (;1;)
(export "" (func 0))
)
(core instance (;2;) (instantiate 1
(with "" (instance 1))
)
)
(type (;0;) (func))
(alias core export 0 "a" (core func (;1;)))
(func (;0;) (type 0) (canon lift (core func 1)))
(export (;1;) "a" (func 0))
(@producers
(processed-by "wit-component" "$CARGO_PKG_VERSION")
)
)