From 263fa098a1c056c096eab51432d18ce4ad41d169 Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Mon, 9 Sep 2019 16:36:38 -0500 Subject: [PATCH] rm "callable" warning --- wasmtime-api/src/externals.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/wasmtime-api/src/externals.rs b/wasmtime-api/src/externals.rs index 1bfb9cac5e..de3a4861bd 100644 --- a/wasmtime-api/src/externals.rs +++ b/wasmtime-api/src/externals.rs @@ -116,6 +116,7 @@ impl Func { &self.r#type } + #[cfg(feature = "wasm-c-api")] pub(crate) fn callable(&self) -> &Rc { &self.callable }