From 9417232d17075be1bd853244c86b12fd96378e72 Mon Sep 17 00:00:00 2001 From: Jonny Gilchrist Date: Mon, 18 Apr 2016 14:42:44 +0100 Subject: [PATCH] Explicitly re-export tcod_sys (ffi) Exporting extern crates without marking them public will be phased out in future versions of the compiler, see https://github.com/rust-lang/rust/pull/31362 --- src/bindings.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bindings.rs b/src/bindings.rs index 846878316..63ee0c1db 100644 --- a/src/bindings.rs +++ b/src/bindings.rs @@ -1,5 +1,6 @@ +pub extern crate tcod_sys as ffi; + extern crate libc; -extern crate tcod_sys as ffi; pub use std::ffi::CString; pub use self::libc::{c_char, c_int, c_float, c_uint, c_void, uint8_t};