We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
apple-ios
1 parent 2e76015 commit dc3c122Copy full SHA for dc3c122
src/lib.rs
@@ -94,6 +94,12 @@ impl Build {
94
_ => config.define("LUA_USE_MACOSX", None),
95
};
96
}
97
+ _ if target.contains("apple-ios") => {
98
+ match version {
99
+ Lua54 => config.define("LUA_USE_IOS", None),
100
+ _ => config.define("LUA_USE_POSIX", None),
101
+ };
102
+ }
103
_ if target.contains("windows") => {
104
// Defined in Lua >= 5.3
105
config.define("LUA_USE_WINDOWS", None);
0 commit comments