[vlc-commits] contrib: rust: Only enable rust on known supported windows architectures
Martin Storsjö
git at videolan.org
Fri Sep 11 13:34:28 CEST 2020
vlc | branch: master | Martin Storsjö <martin at martin.st> | Fri Sep 11 12:56:27 2020 +0300| [04e77949d2ad89119a435e762de5158e284df03f] | committer: Martin Storsjö
contrib: rust: Only enable rust on known supported windows architectures
Instead of adding explicit opt-out for the known unsupported
architectures (armv7, aarch64), just enable it for the specific
architectures we know are supported.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=04e77949d2ad89119a435e762de5158e284df03f
---
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)
More information about the vlc-commits
mailing list