diff options
| author | Henry Gressmann <mail@henrygressmann.de> | 2023-12-12 10:09:38 +0100 |
|---|---|---|
| committer | Henry Gressmann <mail@henrygressmann.de> | 2023-12-12 10:09:38 +0100 |
| commit | 97fb3cc56442c4d831ef2c9e1599cc8105ff2b96 (patch) | |
| tree | 2f62d90956cfa39490112a93d8ba9bb41c6b8577 /crates/types/src | |
| parent | 1663131fb135abf96e4e68a5f872d5cb282ec5e5 (diff) | |
test(tinywasm): add AssertReturn to spec test harness
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'crates/types/src')
| -rw-r--r-- | crates/types/src/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/types/src/lib.rs b/crates/types/src/lib.rs index 4e09e00..4defb23 100644 --- a/crates/types/src/lib.rs +++ b/crates/types/src/lib.rs @@ -36,7 +36,7 @@ pub use instructions::*; /// This is the internal representation of a WebAssembly module in TinyWasm. /// TinyWasmModules are validated before being created, so they are guaranteed to be valid (as long as they were created by TinyWasm). /// This means you should not trust a TinyWasmModule created by a third party to be valid. -#[derive(Debug)] +#[derive(Debug, Clone)] pub struct TinyWasmModule { /// The version of the WebAssembly module. pub version: Option<u16>, @@ -266,7 +266,7 @@ pub struct FuncType { } /// A WebAssembly Function -#[derive(Debug)] +#[derive(Debug, Clone)] pub struct Function { pub ty: TypeAddr, pub locals: Box<[ValType]>, @@ -274,7 +274,7 @@ pub struct Function { } /// A WebAssembly Module Export -#[derive(Debug)] +#[derive(Debug, Clone)] pub struct Export { /// The name of the export. pub name: Box<str>, |
