From a49ea51b79ff129f807b17b1510086377dac557f Mon Sep 17 00:00:00 2001 From: kyren Date: Mon, 19 Feb 2018 18:05:55 -0500 Subject: Remove terrible awful no-good evil hack The breakage is being addressed in rust itself. --- src/lua.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/lua.rs') diff --git a/src/lua.rs b/src/lua.rs index e2c3e60..0b5ade3 100644 --- a/src/lua.rs +++ b/src/lua.rs @@ -759,7 +759,6 @@ impl Lua { pub(crate) unsafe fn userdata_metatable(&self) -> Result { // Used if both an __index metamethod is set and regular methods, checks methods table // first, then __index metamethod. - #[cfg_attr(unwind, unwind)] unsafe extern "C" fn meta_index_impl(state: *mut ffi::lua_State) -> c_int { ffi::luaL_checkstack(state, 2, ptr::null()); @@ -997,7 +996,6 @@ impl Lua { &'lua self, func: Callback<'callback, 'static>, ) -> Result> { - #[cfg_attr(unwind, unwind)] unsafe extern "C" fn callback_call_impl(state: *mut ffi::lua_State) -> c_int { callback_error(state, || { let lua = Lua { -- cgit v1.2.3