summaryrefslogtreecommitdiff
path: root/mlua-sys/src/lua51/lualib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mlua-sys/src/lua51/lualib.rs')
-rw-r--r--mlua-sys/src/lua51/lualib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlua-sys/src/lua51/lualib.rs b/mlua-sys/src/lua51/lualib.rs
index e0f6d0f..9ef0b21 100644
--- a/mlua-sys/src/lua51/lualib.rs
+++ b/mlua-sys/src/lua51/lualib.rs
@@ -21,7 +21,7 @@ pub const LUA_JITLIBNAME: &str = "jit";
pub const LUA_FFILIBNAME: &str = "ffi";
#[cfg_attr(all(windows, raw_dylib), link(name = "lua51", kind = "raw-dylib"))]
-extern "C" {
+extern "C-unwind" {
pub fn luaopen_base(L: *mut lua_State) -> c_int;
pub fn luaopen_table(L: *mut lua_State) -> c_int;
pub fn luaopen_io(L: *mut lua_State) -> c_int;