From 8408260eddf95251b30f70c318bbe246029b9fe8 Mon Sep 17 00:00:00 2001 From: Yaron Wittenstein Date: Mon, 29 Jul 2019 17:10:17 +0300 Subject: [PATCH] wasmer-c-api: adding `#[derive(Debug)]` for `wasmer_result_t` (so that we can do `assert_eq!`) --- lib/runtime-c-api/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/runtime-c-api/src/lib.rs b/lib/runtime-c-api/src/lib.rs index 51f23517c..b087cd356 100644 --- a/lib/runtime-c-api/src/lib.rs +++ b/lib/runtime-c-api/src/lib.rs @@ -97,6 +97,7 @@ pub mod table; pub mod trampoline; pub mod value; +#[derive(Debug)] #[allow(non_camel_case_types)] #[repr(C)] pub enum wasmer_result_t {