[vlc-commits] [Git][videolan/vlc][master] 2 commits: contrib: rust: update the Rust version to 1.79.0

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Jul 11 10:04:38 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
fe1a06ce by Steve Lhomme at 2024-07-11T09:31:46+00:00
contrib: rust: update the Rust version to 1.79.0

*-pc-windows-gnullvm is not accepted by rustup before that.

Note starting with Rust 1.78.0 the minimum version of Windows is Windows 10 [1] [2].
If we want Rust in Win7 we might want to select a different Rust version.

[1] https://blog.rust-lang.org/2024/05/02/Rust-1.78.0.html#compatibility-notes
[2] https://blog.rust-lang.org/2024/02/26/Windows-7.html

- - - - -
3b5e3e2b by Steve Lhomme at 2024-07-11T09:31:46+00:00
contrib: rust: enable Windows aarch64 in UCRT builds

- - - - -


2 changed files:

- contrib/src/cargo/rules.mak
- contrib/src/main-rust.mak


Changes:

=====================================
contrib/src/cargo/rules.mak
=====================================
@@ -1,6 +1,6 @@
 # cargo/cargo-c installation via rustup
 
-RUST_VERSION=1.75.0
+RUST_VERSION=1.79.0
 CARGOC_VERSION=0.9.29
 RUSTUP_VERSION := 1.27.1
 RUSTUP_URL := $(GITHUB)/rust-lang/rustup/archive/refs/tags/$(RUSTUP_VERSION).tar.gz


=====================================
contrib/src/main-rust.mak
=====================================
@@ -8,10 +8,9 @@ ifdef HAVE_UCRT
 ifndef HAVE_WINSTORE # UWP is available as Tier 3
 ifeq ($(HOST),i686-w64-mingw32)
 RUST_TARGET = i686-pc-windows-gnullvm # ARCH is i386
-else ifeq ($(HOST),x86_64-w64-mingw32)
+else ifneq ($(HOST),armv7-w64-mingw32)
+# Not supported on armv7
 RUST_TARGET = $(ARCH)-pc-windows-gnullvm
-else
-# Not supported on armv7/aarch64 yet
 endif # archs
 endif # WINSTORE
 else # MSVCRT



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/861556aad7101650791e6051c1cce9d9a3c4d195...3b5e3e2b98520c9fc186cec6c7a6b4d798db0f98

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/861556aad7101650791e6051c1cce9d9a3c4d195...3b5e3e2b98520c9fc186cec6c7a6b4d798db0f98
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list