Skip to content

Commit 422b883

Browse files
Copilotjsturtevant
andauthored
Handle FuncExact variant added in wasmparser 0.243.0 (#1071)
* Initial plan * Handle FuncExact variant in wasmparser 0.243.0 Co-authored-by: jsturtevant <648372+jsturtevant@users.noreply.github.com> * Improve error message consistency for FuncExact handlers Co-authored-by: jsturtevant <648372+jsturtevant@users.noreply.github.com> * Fix wasmparser 0.243.0 compatibility Co-authored-by: jsturtevant <648372+jsturtevant@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: jsturtevant <648372+jsturtevant@users.noreply.github.com>
1 parent 516392e commit 422b883

4 files changed

Lines changed: 18 additions & 14 deletions

File tree

src/hyperlight_component_util/src/elaborate.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ mod basic_conversions {
6666
ExternalKind::Memory => Sort::Core(CoreSort::Memory),
6767
ExternalKind::Global => Sort::Core(CoreSort::Global),
6868
ExternalKind::Tag => panic!("core type tags are not supported"),
69+
ExternalKind::FuncExact => panic!("core type exact functions are not supported"),
6970
}
7071
}
7172

@@ -195,6 +196,9 @@ impl<'p, 'a> Ctx<'p, 'a> {
195196
TypeRef::Memory(mt) => CoreExternDesc::Memory(*mt),
196197
TypeRef::Global(gt) => CoreExternDesc::Global(*gt),
197198
TypeRef::Tag(_) => panic!("core type tags are not supported"),
199+
TypeRef::FuncExact(_) => {
200+
panic!("core type exact functions are not supported")
201+
}
198202
},
199203
}),
200204
),

src/tests/rust_guests/dummyguest/Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/tests/rust_guests/simpleguest/Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/tests/rust_guests/witguest/Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)