Repository navigation
Commit 6086f2a
committed
fix(wasm): component-invoke accepts a load-component handle
`(wasm/component-invoke (wasm/load-component p) "f" ...)` failed with
"wasm/load: the module path must be a string": the handle-shaped name refused
the handle and re-instantiated from a path on every call. A non-string first
argument now delegates to component-call, which validates component and
resource handles. A path string keeps the one-shot route.
README_echo.md: the >= 2-export InvalidSort gap (D-567 / zwasm D-527) is
fixed; the echo fixture loads and round-trips. The old section stays as
history with its root cause.
Adds component-invoke-accepts-handle to the phase16 component probe.1 parent d4dae80 commit 6086f2a
4 files changed
Lines changed: 21 additions & 3 deletions
File tree
- src/runtime/cljw/wasm
- test/e2e
- fixtures
- wasm
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
575 | 575 | | |
576 | 576 | | |
577 | 577 | | |
578 | | - | |
579 | 578 | | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
580 | 583 | | |
581 | 584 | | |
582 | 585 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
29 | 36 | | |
30 | 37 | | |
31 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
0 commit comments