summaryrefslogtreecommitdiff
path: root/crates/parser/src/module.rs
diff options
context:
space:
mode:
authorHenry Gressmann <mail@henrygressmann.de>2023-12-04 01:53:09 +0100
committerHenry Gressmann <mail@henrygressmann.de>2023-12-04 01:53:09 +0100
commit829db60c869ea5ec9be37e6fc2ad94c2965d63d4 (patch)
treee007a6885b4d8425d05d09f9d1297c3a599f6c30 /crates/parser/src/module.rs
parent1fb52089715631f4edb2abdc592547d0f5121161 (diff)
feat: add wat support to cli
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'crates/parser/src/module.rs')
-rw-r--r--crates/parser/src/module.rs4
1 files changed, 4 insertions, 0 deletions
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()))
}