chore: checkpoint before Python removal

This commit is contained in:
2026-03-26 22:33:59 +00:00
parent 683cec9307
commit e568ddf82a
29972 changed files with 11269302 additions and 2 deletions

View File

@@ -0,0 +1,30 @@
(component
(type $ty-foo:bar/x (;0;)
(instance
(export (;0;) "a" (type (sub resource)))
(type (;1;) (func))
(export (;0;) "[static]a.f" (func (type 1)))
)
)
(import "foo:bar/x" (instance $foo:bar/x (;0;) (type $ty-foo:bar/x)))
(core module $main (;0;)
(type (;0;) (func))
(import "foo:bar/x" "[static]a.f" (func (;0;) (type 0)))
(@producers
(processed-by "wit-component" "$CARGO_PKG_VERSION")
(processed-by "my-fake-bindgen" "123.45")
)
)
(alias export $foo:bar/x "[static]a.f" (func $"[static]a.f" (;0;)))
(core func $"[static]a.f" (;0;) (canon lower (func $"[static]a.f")))
(core instance $foo:bar/x (;0;)
(export "[static]a.f" (func $"[static]a.f"))
)
(core instance $main (;1;) (instantiate $main
(with "foo:bar/x" (instance $foo:bar/x))
)
)
(@producers
(processed-by "wit-component" "$CARGO_PKG_VERSION")
)
)

View File

@@ -0,0 +1,5 @@
package root:component;
world root {
import foo:bar/x;
}

View File

@@ -0,0 +1,3 @@
(module
(import "foo:bar/x" "[static]a.f" (func))
)

View File

@@ -0,0 +1,11 @@
package foo:bar;
interface x {
resource a {
f: static func();
}
}
world module {
import x;
}