From 03d271771053fae304d8dbe8a055449d0265c29d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 3 Dec 2025 03:12:58 +0000 Subject: [PATCH 1/2] Bump wasmparser from 0.242.0 to 0.243.0 Bumps [wasmparser](https://github.com/bytecodealliance/wasm-tools) from 0.242.0 to 0.243.0. - [Release notes](https://github.com/bytecodealliance/wasm-tools/releases) - [Commits](https://github.com/bytecodealliance/wasm-tools/commits) --- updated-dependencies: - dependency-name: wasmparser dependency-version: 0.243.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 4 ++-- src/hyperlight_component_macro/Cargo.toml | 2 +- src/hyperlight_component_util/Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e57cd265f..6df2ef057 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4064,9 +4064,9 @@ dependencies = [ [[package]] name = "wasmparser" -version = "0.242.0" +version = "0.243.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed3c6e611f4cd748d85c767815823b777dc56afca793fcda27beae4e85028849" +checksum = "f6d8db401b0528ec316dfbe579e6ab4152d61739cfe076706d2009127970159d" dependencies = [ "bitflags 2.10.0", "hashbrown 0.15.5", diff --git a/src/hyperlight_component_macro/Cargo.toml b/src/hyperlight_component_macro/Cargo.toml index 28dd57fc4..bd3c2e427 100644 --- a/src/hyperlight_component_macro/Cargo.toml +++ b/src/hyperlight_component_macro/Cargo.toml @@ -16,7 +16,7 @@ name = "hyperlight_component_macro" proc-macro = true [dependencies] -wasmparser = { version = "0.242.0" } +wasmparser = { version = "0.243.0" } quote = { version = "1.0.42" } proc-macro2 = { version = "1.0.103" } syn = { version = "2.0.111" } diff --git a/src/hyperlight_component_util/Cargo.toml b/src/hyperlight_component_util/Cargo.toml index 3a6330355..1292ca527 100644 --- a/src/hyperlight_component_util/Cargo.toml +++ b/src/hyperlight_component_util/Cargo.toml @@ -15,7 +15,7 @@ Shared implementation for the procedural macros that generate Hyperlight host an name = "hyperlight_component_util" [dependencies] -wasmparser = { version = "0.242.0" } +wasmparser = { version = "0.243.0" } quote = { version = "1.0.42" } proc-macro2 = { version = "1.0.103" } syn = { version = "2.0.111" } From cdc1ea0077a214e7d5e9c100c05443febca5511a Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Wed, 3 Dec 2025 14:23:46 -0800 Subject: [PATCH 2/2] 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> --- src/hyperlight_component_util/src/elaborate.rs | 4 ++++ src/tests/rust_guests/witguest/Cargo.lock | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/hyperlight_component_util/src/elaborate.rs b/src/hyperlight_component_util/src/elaborate.rs index 120092922..292e9c7e0 100644 --- a/src/hyperlight_component_util/src/elaborate.rs +++ b/src/hyperlight_component_util/src/elaborate.rs @@ -66,6 +66,7 @@ mod basic_conversions { ExternalKind::Memory => Sort::Core(CoreSort::Memory), ExternalKind::Global => Sort::Core(CoreSort::Global), ExternalKind::Tag => panic!("core type tags are not supported"), + ExternalKind::FuncExact => panic!("core type exact functions are not supported"), } } @@ -195,6 +196,9 @@ impl<'p, 'a> Ctx<'p, 'a> { TypeRef::Memory(mt) => CoreExternDesc::Memory(*mt), TypeRef::Global(gt) => CoreExternDesc::Global(*gt), TypeRef::Tag(_) => panic!("core type tags are not supported"), + TypeRef::FuncExact(_) => { + panic!("core type exact functions are not supported") + } }, }), ), diff --git a/src/tests/rust_guests/witguest/Cargo.lock b/src/tests/rust_guests/witguest/Cargo.lock index 032aafb5b..eb5642641 100644 --- a/src/tests/rust_guests/witguest/Cargo.lock +++ b/src/tests/rust_guests/witguest/Cargo.lock @@ -658,9 +658,9 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "wasmparser" -version = "0.242.0" +version = "0.243.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed3c6e611f4cd748d85c767815823b777dc56afca793fcda27beae4e85028849" +checksum = "f6d8db401b0528ec316dfbe579e6ab4152d61739cfe076706d2009127970159d" dependencies = [ "bitflags", "hashbrown 0.15.5",