diff options
Diffstat (limited to 'crates/types')
| -rw-r--r-- | crates/types/src/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crates/types/src/lib.rs b/crates/types/src/lib.rs index af5cf1a..39ced78 100644 --- a/crates/types/src/lib.rs +++ b/crates/types/src/lib.rs @@ -3,9 +3,10 @@ extern crate alloc; mod instructions; pub use instructions::*; +#[derive(Debug)] pub struct TinyWasmModule { pub version: Option<u16>, - pub start_func: Option<u32>, + pub start_func: Option<FuncAddr>, pub types: Box<[FuncType]>, pub funcs: Box<[Function]>, @@ -97,6 +98,7 @@ pub struct FuncType { } /// A WebAssembly Function +#[derive(Debug)] pub struct Function { pub ty: TypeAddr, pub locals: Box<[ValType]>, |
