[vlc-devel] [PATCHv4 02/12] contrib: rust: don't support iOS 32bit and tvOS

Thomas Guillem thomas at gllm.fr
Tue Sep 8 14:13:31 CEST 2020


---
 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 cc8f86e8636..ea32e690295 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
-- 
2.28.0



More information about the vlc-devel mailing list