| 1 |
(component |
| 2 |
(core module (;0;) |
| 3 |
(@producers |
| 4 |
(processed-by "wit-component" "$CARGO_PKG_VERSION") |
| 5 |
(processed-by "my-fake-bindgen" "123.45") |
| 6 |
) |
| 7 |
) |
| 8 |
(type (;0;) (resource (rep i32))) |
| 9 |
(core instance (;0;) (instantiate 0)) |
| 10 |
(component (;0;) |
| 11 |
(import "import-type-name" (type (;0;) (sub resource))) |
| 12 |
(export (;1;) "name" (type 0)) |
| 13 |
) |
| 14 |
(instance (;0;) (instantiate 0 |
| 15 |
(with "import-type-name" (type 0)) |
| 16 |
) |
| 17 |
) |
| 18 |
(export (;1;) "foo:bar/foo" (instance 0)) |
| 19 |
(alias export 1 "name" (type (;1;))) |
| 20 |
(component (;1;) |
| 21 |
(import "import-type-name" (type (;0;) (sub resource))) |
| 22 |
(export (;1;) "name" (type 0)) |
| 23 |
) |
| 24 |
(instance (;2;) (instantiate 1 |
| 25 |
(with "import-type-name" (type 1)) |
| 26 |
) |
| 27 |
) |
| 28 |
(export (;3;) "foo:bar/name" (instance 2)) |
| 29 |
(alias export 3 "name" (type (;2;))) |
| 30 |
(component (;2;) |
| 31 |
(import "import-type-name" (type (;0;) (sub resource))) |
| 32 |
(import "import-type-name0" (type (;1;) (eq 0))) |
| 33 |
(export (;2;) "name" (type 1)) |
| 34 |
) |
| 35 |
(instance (;4;) (instantiate 2 |
| 36 |
(with "import-type-name" (type 1)) |
| 37 |
(with "import-type-name0" (type 2)) |
| 38 |
) |
| 39 |
) |
| 40 |
(export (;5;) "name" (instance 4)) |
| 41 |
(@producers |
| 42 |
(processed-by "wit-component" "$CARGO_PKG_VERSION") |
| 43 |
) |
| 44 |
) |