From 4af2e5a89e7d56656aa6470cdb25b46ae0b3b8a1 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 13 Oct 2020 01:34:12 +1000 Subject: [PATCH] support iOS cross compile (#429) --- rust/platform/triple_mappings.bzl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rust/platform/triple_mappings.bzl b/rust/platform/triple_mappings.bzl index c12cac9f25..2c29e7796d 100644 --- a/rust/platform/triple_mappings.bzl +++ b/rust/platform/triple_mappings.bzl @@ -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 @@ -54,6 +55,7 @@ _SYSTEM_TO_STATICLIB_EXT = { "freebsd": ".a", "linux": ".a", "darwin": ".a", + "ios": ".a", "windows": ".lib", "emscripten": ".js", "unknown": "", @@ -63,6 +65,7 @@ _SYSTEM_TO_DYLIB_EXT = { "freebsd": ".so", "linux": ".so", "darwin": ".dylib", + "ios": ".dylib", "windows": ".dll", "emscripten": ".js", "unknown": ".wasm",