[vlc-commits] contrib: rust: don't support iOS 32bit and tvOS

Thomas Guillem git at videolan.org
Thu Sep 10 12:43:18 CEST 2020


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Sep  8 11:32:04 2020 +0200| [2a3a34b092b0d8ae5030d5a72dede9d346e0905a] | committer: Thomas Guillem

contrib: rust: don't support iOS 32bit and tvOS

Co-Authored-By: Kartik Ohri <kartikohri13 at gmail.com>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2a3a34b092b0d8ae5030d5a72dede9d346e0905a
---

 contrib/src/main-rust.mak | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/contrib/src/main-rust.mak b/contrib/src/main-rust.mak
index cc8f86e863..ea32e69029 100644
--- a/contrib/src/main-rust.mak
+++ b/contrib/src/main-rust.mak
@@ -12,7 +12,11 @@ endif
 else ifdef HAVE_ANDROID
 RUST_TARGET = $(HOST)
 else ifdef HAVE_IOS
+ifneq ($(ARCH),arm) # iOS 32bit is Tier 3
+ifndef HAVE_TVOS # tvOS is Tier 3
 RUST_TARGET = $(ARCH)-apple-ios
+endif
+endif
 else ifdef HAVE_MACOSX
 RUST_TARGET = $(ARCH)-apple-darwin
 else ifdef HAVE_SOLARIS
@@ -26,3 +30,10 @@ endif
 else ifdef HAVE_BSD
 RUST_TARGET = $(HOST)
 endif
+
+# For now, VLC don't support Tier 3 platforms (ios 32bit, tvOS).
+# Supporting a Tier 3 platform means building an untested rust toolchain.
+# TODO Let's hope tvOS move from Tier 3 to Tier 2 before the VLC 4.0 release.
+ifneq ($(RUST_TARGET),)
+BUILD_RUST="1"
+endif



More information about the vlc-commits mailing list