[vlc-devel] [PATCH] contrib/rust: disable compilation for macOS ARM-64

Felix Paul Kühne fkuehne at videolan.org
Mon Dec 14 06:59:24 CET 2020


From: Felix Paul Kühne <felix at feepk.net>

With the currently used version neither native nor cross-compilation appears to be supported.
---
 contrib/src/main-rust.mak | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/contrib/src/main-rust.mak b/contrib/src/main-rust.mak
index fe2be82724..104656ea3c 100644
--- a/contrib/src/main-rust.mak
+++ b/contrib/src/main-rust.mak
@@ -24,7 +24,9 @@ endif
 endif
 endif
 else ifdef HAVE_MACOSX
+ifneq ($(ARCH),aarch64) # macOS ARM-64 is unsupported
 RUST_TARGET = $(ARCH)-apple-darwin
+endif
 else ifdef HAVE_SOLARIS
 RUST_TARGET = x86_64-sun-solaris
 else ifdef HAVE_LINUX
-- 
2.24.3 (Apple Git-128)



More information about the vlc-devel mailing list