From 829db60c869ea5ec9be37e6fc2ad94c2965d63d4 Mon Sep 17 00:00:00 2001 From: Henry Gressmann Date: Mon, 4 Dec 2023 01:53:09 +0100 Subject: feat: add wat support to cli Signed-off-by: Henry Gressmann --- crates/parser/src/module.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'crates/parser/src/module.rs') diff --git a/crates/parser/src/module.rs b/crates/parser/src/module.rs index 268bad7..2beba9e 100644 --- a/crates/parser/src/module.rs +++ b/crates/parser/src/module.rs @@ -162,6 +162,10 @@ impl ModuleReader { validator.end(offset)?; self.end_reached = true; } + CustomSection(reader) => { + debug!("Found custom section"); + debug!("Skipping custom section: {:?}", reader.name()); + } UnknownSection { .. } => { return Err(ParseError::UnsupportedSection("Unknown section".into())) } -- cgit v1.3.1