summaryrefslogtreecommitdiff
path: root/crates/parser/src/conversion.rs
diff options
context:
space:
mode:
authorHenry Gressmann <mail@henrygressmann.de>2025-12-08 21:58:16 +0100
committerHenry Gressmann <mail@henrygressmann.de>2025-12-08 21:58:16 +0100
commit2911204b3b2508c729c2584016cccd3ef57ffc91 (patch)
treea261be9b88891a6509b4f9f2498713e724fecc93 /crates/parser/src/conversion.rs
parentf7f77cd3026e39a2c29faf539575ef57165c81db (diff)
chore: update everything, more simd stuff
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'crates/parser/src/conversion.rs')
-rw-r--r--crates/parser/src/conversion.rs8
1 files changed, 7 insertions, 1 deletions
diff --git a/crates/parser/src/conversion.rs b/crates/parser/src/conversion.rs
index a4e3b35..b62e670 100644
--- a/crates/parser/src/conversion.rs
+++ b/crates/parser/src/conversion.rs
@@ -94,6 +94,12 @@ pub(crate) fn convert_module_import(import: wasmparser::Import<'_>) -> Result<Im
wasmparser::TypeRef::Tag(ty) => {
return Err(crate::ParseError::UnsupportedOperator(format!("Unsupported import kind: {ty:?}")));
}
+ _ => {
+ return Err(crate::ParseError::UnsupportedOperator(format!(
+ "Unsupported import kind: {:?}",
+ import.ty
+ )));
+ }
},
})
}
@@ -156,7 +162,7 @@ pub(crate) fn convert_module_export(export: wasmparser::Export<'_>) -> Result<Ex
wasmparser::ExternalKind::Table => ExternalKind::Table,
wasmparser::ExternalKind::Memory => ExternalKind::Memory,
wasmparser::ExternalKind::Global => ExternalKind::Global,
- wasmparser::ExternalKind::Tag => {
+ wasmparser::ExternalKind::Tag | wasmparser::ExternalKind::FuncExact => {
return Err(crate::ParseError::UnsupportedOperator(format!("Unsupported export kind: {:?}", export.kind)));
}
};