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,2 @@
failed to validate encoded bytes: type mismatch for import `foobar`
missing export named `test:foo/bar` (at offset 0x1d5)

View File

@@ -0,0 +1,39 @@
(component
(core module (;0;)
(type (;0;) (func))
(type (;1;) (func (param i32 i32 i32 i32) (result i32)))
(func (;0;) (type 0)
unreachable
)
(func (;1;) (type 1) (param i32 i32 i32 i32) (result i32)
unreachable
)
(memory (;0;) 0)
(export "test:foo/foo#f" (func 0))
(export "memory" (memory 0))
(export "cabi_realloc" (func 1))
(@producers
(processed-by "wit-component" "0.11.0")
)
)
(core instance (;0;) (instantiate 0))
(alias core export 0 "memory" (core memory (;0;)))
(alias core export 0 "cabi_realloc" (core func (;0;)))
(type (;0;) (func))
(alias core export 0 "test:foo/foo#f" (core func (;1;)))
(func (;0;) (type 0) (canon lift (core func 1)))
(component (;0;)
(type (;0;) (func))
(import "import-func-f" (func (;0;) (type 0)))
(type (;1;) (func))
(export (;1;) "f" (func 0) (func (type 1)))
)
(instance (;0;) (instantiate 0
(with "import-func-f" (func 0))
)
)
(@producers
(processed-by "wit-component" "0.11.0")
)
(export (;1;) (interface "test:foo/foo") (instance 0))
)

View File

@@ -0,0 +1,18 @@
package test:foo;
interface bar {
f: func();
}
interface foo {
f: func();
}
world foobar {
export bar;
export foo;
}
world foo-only {
export foo;
}

View File

@@ -0,0 +1,2 @@
failed to validate encoded bytes: type mismatch for import `foobar`
missing import named `test:foo/foo` (at offset 0x175)

View File

@@ -0,0 +1,37 @@
(component
(type (;0;)
(instance
(type (;0;) (func))
(export (;0;) "f" (func (type 0)))
)
)
(import (interface "test:foo/foo") (instance (;0;) (type 0)))
(core module (;0;)
(type (;0;) (func))
(type (;1;) (func (param i32 i32 i32 i32) (result i32)))
(import "test:foo/foo" "f" (func (;0;) (type 0)))
(func (;1;) (type 1) (param i32 i32 i32 i32) (result i32)
unreachable
)
(memory (;0;) 0)
(export "memory" (memory 0))
(export "cabi_realloc" (func 1))
(@producers
(processed-by "wit-component" "0.11.0")
)
)
(alias export 0 "f" (func (;0;)))
(core func (;0;) (canon lower (func 0)))
(core instance (;0;)
(export "f" (func 0))
)
(core instance (;1;) (instantiate 0
(with "test:foo/foo" (instance 0))
)
)
(@producers
(processed-by "wit-component" "0.11.0")
)
(alias core export 1 "memory" (core memory (;0;)))
(alias core export 1 "cabi_realloc" (core func (;1;)))
)

View File

@@ -0,0 +1,13 @@
package test:foo;
interface foo {
f: func();
}
world foobar {
export foo;
}
world imports {
import foo;
}

View File

@@ -0,0 +1 @@
(component)

View File

@@ -0,0 +1,9 @@
package test:foo;
interface foo {
f: func();
}
world foobar {
import foo;
}

View File

@@ -0,0 +1,56 @@
(component
(core module (;0;)
(type (;0;) (func))
(type (;1;) (func (param i32 i32 i32 i32) (result i32)))
(func (;0;) (type 0)
unreachable
)
(func (;1;) (type 0)
unreachable
)
(func (;2;) (type 1) (param i32 i32 i32 i32) (result i32)
unreachable
)
(memory (;0;) 0)
(export "test:foo/bar#f" (func 0))
(export "test:foo/foo#f" (func 1))
(export "memory" (memory 0))
(export "cabi_realloc" (func 2))
(@producers
(processed-by "wit-component" "0.11.0")
)
)
(core instance (;0;) (instantiate 0))
(alias core export 0 "memory" (core memory (;0;)))
(alias core export 0 "cabi_realloc" (core func (;0;)))
(type (;0;) (func))
(alias core export 0 "test:foo/bar#f" (core func (;1;)))
(func (;0;) (type 0) (canon lift (core func 1)))
(component (;0;)
(type (;0;) (func))
(import "import-func-f" (func (;0;) (type 0)))
(type (;1;) (func))
(export (;1;) "f" (func 0) (func (type 1)))
)
(instance (;0;) (instantiate 0
(with "import-func-f" (func 0))
)
)
(export (;1;) (interface "test:foo/bar") (instance 0))
(alias core export 0 "test:foo/foo#f" (core func (;2;)))
(func (;1;) (type 0) (canon lift (core func 2)))
(component (;1;)
(type (;0;) (func))
(import "import-func-f" (func (;0;) (type 0)))
(type (;1;) (func))
(export (;1;) "f" (func 0) (func (type 1)))
)
(instance (;2;) (instantiate 1
(with "import-func-f" (func 1))
)
)
(@producers
(processed-by "wit-component" "0.11.0")
)
(export (;3;) (interface "test:foo/foo") (instance 2))
)

View File

@@ -0,0 +1,14 @@
package test:foo;
interface bar {
f: func();
}
interface foo {
f: func();
}
world foobar {
export bar;
export foo;
}