diff options
| author | Henry <mail@henrygressmann.de> | 2026-04-04 21:08:27 +0200 |
|---|---|---|
| committer | Henry <mail@henrygressmann.de> | 2026-04-04 21:08:27 +0200 |
| commit | 1cf50a22104ed075a08781321486e1cbf19fb7c6 (patch) | |
| tree | 315a2525fa01b30ebed16f7cd6802222ef9ccdeb /crates/parser/src/lib.rs | |
| parent | e2001ebe6ce6f1c5f3843feac772adf999dae873 (diff) | |
fix: intruction enum size regression
Signed-off-by: Henry <mail@henrygressmann.de>
Diffstat (limited to 'crates/parser/src/lib.rs')
| -rw-r--r-- | crates/parser/src/lib.rs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/crates/parser/src/lib.rs b/crates/parser/src/lib.rs index eabeeab..364209c 100644 --- a/crates/parser/src/lib.rs +++ b/crates/parser/src/lib.rs @@ -41,7 +41,7 @@ pub use tinywasm_types::TinyWasmModule; /// Parser optimization and lowering options. #[non_exhaustive] -#[derive(Debug, Clone)] +#[derive(Debug, Clone, Default)] pub struct ParserOptions { // /// Enable control-flow graph cleanup rewrites. // pub cfg_cleanup: bool, @@ -51,12 +51,6 @@ pub struct ParserOptions { // pub tailcall_rewrite: bool, } -impl Default for ParserOptions { - fn default() -> Self { - Self {} - } -} - /// A WebAssembly parser #[derive(Debug, Default)] pub struct Parser { |
