From d1d5116d2dd8dc8a95f27dc2c067079ca1ff521a Mon Sep 17 00:00:00 2001 From: debris Date: Mon, 11 Jan 2016 18:56:28 +0100 Subject: [PATCH] fixed rust-evmjit description of improper_ctypes usage --- rust-evmjit/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-evmjit/src/lib.rs b/rust-evmjit/src/lib.rs index 28e13eac9..41270177f 100644 --- a/rust-evmjit/src/lib.rs +++ b/rust-evmjit/src/lib.rs @@ -385,8 +385,8 @@ pub mod ffi { pub fn evmjit_exec(context: *mut JitContext) -> JitReturnCode; } + // ExtHandle is not a C type, so we need to allow "improper_ctypes" #[link(name="evmjit")] - // ExtHandle does not have to by a C type #[allow(improper_ctypes)] extern "C" { pub fn evmjit_create_context(data: *mut JitRuntimeData, ext: *mut ExtHandle) -> *mut JitContext;