33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
|
|
(component
|
||
|
|
(core module $main (;0;)
|
||
|
|
(type (;0;) (func))
|
||
|
|
(export "the_entrypoint" (func 0))
|
||
|
|
(func (;0;) (type 0))
|
||
|
|
(@producers
|
||
|
|
(processed-by "wit-component" "$CARGO_PKG_VERSION")
|
||
|
|
(processed-by "my-fake-bindgen" "123.45")
|
||
|
|
)
|
||
|
|
)
|
||
|
|
(core module $wit-component:adapter:old (;1;)
|
||
|
|
(type (;0;) (func))
|
||
|
|
(import "__main_module__" "the_entrypoint" (func $entry (;0;) (type 0)))
|
||
|
|
(export "entrypoint" (func $entry))
|
||
|
|
)
|
||
|
|
(core instance $main (;0;) (instantiate $main))
|
||
|
|
(alias core export $main "the_entrypoint" (core func $the_entrypoint (;0;)))
|
||
|
|
(core instance $__main_module__ (;1;)
|
||
|
|
(export "the_entrypoint" (func $the_entrypoint))
|
||
|
|
)
|
||
|
|
(core instance $old (;2;) (instantiate $wit-component:adapter:old
|
||
|
|
(with "__main_module__" (instance $__main_module__))
|
||
|
|
)
|
||
|
|
)
|
||
|
|
(type (;0;) (func))
|
||
|
|
(alias core export $old "entrypoint" (core func $entrypoint (;1;)))
|
||
|
|
(func $entrypoint (;0;) (type 0) (canon lift (core func $entrypoint)))
|
||
|
|
(export $"#func1 entrypoint" (@name "entrypoint") (;1;) "entrypoint" (func $entrypoint))
|
||
|
|
(@producers
|
||
|
|
(processed-by "wit-component" "$CARGO_PKG_VERSION")
|
||
|
|
)
|
||
|
|
)
|