Skip to content

Commit

Permalink
support iOS cross compile (#429)
Browse files Browse the repository at this point in the history
  • Loading branch information
dae committed Oct 12, 2020
1 parent e64700d commit 4af2e5a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rust/platform/triple_mappings.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ _SYSTEM_TO_BINARY_EXT = {
"linux": "",
"windows": ".exe",
"darwin": "",
"ios": "",
"emscripten": ".js",
# This is currently a hack allowing us to have the proper
# generated extension for the wasm target, similarly to the
Expand All @@ -54,6 +55,7 @@ _SYSTEM_TO_STATICLIB_EXT = {
"freebsd": ".a",
"linux": ".a",
"darwin": ".a",
"ios": ".a",
"windows": ".lib",
"emscripten": ".js",
"unknown": "",
Expand All @@ -63,6 +65,7 @@ _SYSTEM_TO_DYLIB_EXT = {
"freebsd": ".so",
"linux": ".so",
"darwin": ".dylib",
"ios": ".dylib",
"windows": ".dll",
"emscripten": ".js",
"unknown": ".wasm",
Expand Down

0 comments on commit 4af2e5a

Please sign in to comment.