35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
(component
|
|
(type $ty-a:b/types (;0;)
|
|
(instance
|
|
(export (;0;) "fields" (type (sub resource)))
|
|
(export (;1;) "trailers" (type (eq 0)))
|
|
)
|
|
)
|
|
(import "a:b/types" (instance $a:b/types (;0;) (type $ty-a:b/types)))
|
|
(core module $main (;0;)
|
|
(type (;0;) (func (param i32) (result i32)))
|
|
(import "a:b/types" "[future-cancel-read-0][static]request.new" (func (;0;) (type 0)))
|
|
(memory (;0;) 17)
|
|
(export "memory" (memory 0))
|
|
(@producers
|
|
(processed-by "wit-component" "$CARGO_PKG_VERSION")
|
|
(processed-by "my-fake-bindgen" "123.45")
|
|
)
|
|
)
|
|
(alias export $a:b/types "trailers" (type $trailers (;1;)))
|
|
(type (;2;) (own $trailers))
|
|
(type (;3;) (future 2))
|
|
(core func $future.cancel-read (;0;) (canon future.cancel-read 3))
|
|
(core instance $a:b/types (;0;)
|
|
(export "[future-cancel-read-0][static]request.new" (func $future.cancel-read))
|
|
)
|
|
(core instance $main (;1;) (instantiate $main
|
|
(with "a:b/types" (instance $a:b/types))
|
|
)
|
|
)
|
|
(alias core export $main "memory" (core memory $memory (;0;)))
|
|
(@producers
|
|
(processed-by "wit-component" "$CARGO_PKG_VERSION")
|
|
)
|
|
)
|