[vlc-devel] [PATCH] contrib: rust: Only enable rust on known supported windows architectures
Martin Storsjö
martin at martin.st
Fri Sep 11 12:00:57 CEST 2020
Instead of adding explicit opt-out for the known unsupported
architectures (armv7, aarch64), just enable it for the specific
architectures we know are supported.
---
contrib/src/main-rust.mak | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/contrib/src/main-rust.mak b/contrib/src/main-rust.mak
index e31629dea6..edd9c47467 100644
--- a/contrib/src/main-rust.mak
+++ b/contrib/src/main-rust.mak
@@ -6,8 +6,10 @@
ifdef HAVE_WIN32
ifeq ($(HOST),i686-w64-mingw32)
RUST_TARGET = i686-pc-windows-gnu # ARCH is i386
-else
+else ifeq ($(HOST),x86_64-w64-mingw32)
RUST_TARGET = $(ARCH)-pc-windows-gnu
+else
+# Not supported on armv7/aarch64 yet
endif
else ifdef HAVE_ANDROID
RUST_TARGET = $(HOST)
--
2.17.1
More information about the vlc-devel
mailing list