Commit 4e1ec7d
authored
Support wasmparser 0.244.0 breaking API changes (#1194)
wasmparser 0.244.0 introduced breaking changes from PR #2376 which bakes async into component model function types. This adds an async_ field to ComponentFuncType and a new Map variant to ComponentDefinedType.
Since Hyperlight does not yet support async component model features, we handle these new API additions by panicking with clear error messages, consistent with how Future and Stream types are already handled.
This unblocks the Dependabot PR #1156 which was failing CI due to these breaking changes.
Signed-off-by: James Sturtevant <jsturtevant@gmail.com>1 parent df35fab commit 4e1ec7d
File tree
4 files changed
+10
-4
lines changed- src
- hyperlight_component_macro
- hyperlight_component_util
- src
4 files changed
+10
-4
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
442 | 445 | | |
443 | 446 | | |
444 | 447 | | |
445 | 448 | | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
446 | 452 | | |
447 | 453 | | |
448 | 454 | | |
| |||
0 commit comments