mirror of
https://github.com/mlua-rs/mlua
synced 2026-06-08 16:05:43 +00:00
Don't bother with a feature, just disable LUA_USE_APICHECK in release
This commit is contained in:
@@ -22,12 +22,6 @@ default = ["builtin-lua"]
|
||||
# * LUA_NUMBER as double
|
||||
# * LUA_EXTRASPACE is sizeof(void*)
|
||||
builtin-lua = ["gcc"]
|
||||
# Don't define LUA_USE_APICHECK if we are in release mode. When
|
||||
# debug_assertions are enabled, LUA_USE_APICHECK is enabled regardless. There
|
||||
# are still a few known ways to trigger LUA_USE_APICHECK checks with rlua, but
|
||||
# when these bugs are fixed, this option will go away and this behavior will be
|
||||
# the default.
|
||||
disable-lua-apicheck = []
|
||||
|
||||
[dependencies]
|
||||
libc = { version = "0.2" }
|
||||
|
||||
Reference in New Issue
Block a user