Skip to content

Commit dc3c122

Browse files
committed
Add apple-ios target support
1 parent 2e76015 commit dc3c122

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,12 @@ impl Build {
9494
_ => config.define("LUA_USE_MACOSX", None),
9595
};
9696
}
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+
}
97103
_ if target.contains("windows") => {
98104
// Defined in Lua >= 5.3
99105
config.define("LUA_USE_WINDOWS", None);

0 commit comments

Comments
 (0)