(&self)
| 68 | // context by only cloning the error string. |
| 69 | impl Clone for wasm_trap_t { |
| 70 | fn clone(&self) -> wasm_trap_t { |
| 71 | wasm_trap_t { |
| 72 | error: format_err!("{:?}", self.error), |
| 73 | } |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | wasmtime_c_api_macros::declare_ref!(wasm_trap_t); |