rust: update to 1.89.0
authorAleksey Vasilenko <[email protected]>
Fri, 22 Aug 2025 22:11:33 +0000 (01:11 +0300)
committerHannu Nyman <[email protected]>
Sat, 23 Aug 2025 10:28:18 +0000 (13:28 +0300)
- switch source archive to tar.xz to save space and bandwidth
- refresh a patch

Signed-off-by: Aleksey Vasilenko <[email protected]>
lang/rust/Makefile
lang/rust/patches/0001-Update-xz2-and-use-it-static.patch

index 290a2fb78b2507112c00047bb94b9b23266d4258..cea288f214b3f01d4f1cbee268122ef4e5affb6a 100644 (file)
@@ -5,12 +5,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=rust
-PKG_VERSION:=1.87.0
+PKG_VERSION:=1.89.0
 PKG_RELEASE:=1
 
-PKG_SOURCE:=rustc-$(PKG_VERSION)-src.tar.gz
+PKG_SOURCE:=rustc-$(PKG_VERSION)-src.tar.xz
 PKG_SOURCE_URL:=https://static.rust-lang.org/dist/
-PKG_HASH:=149bb9fd29be592da4e87900fc68f0629a37bf6850b46339dd44434c04fd8e76
+PKG_HASH:=0b9d55610d8270e06c44f459d1e2b7918a5e673809c592abed9b9c600e33d95a
 HOST_BUILD_DIR:=$(BUILD_DIR)/host/rustc-$(PKG_VERSION)-src
 
 PKG_MAINTAINER:=Luca Barbato <[email protected]>
index c9bc0fdddc1b9d357618fa78cda4087e2d278017..295f7bc5219d1fa91d24d6e06512411da3e39d02 100644 (file)
@@ -9,7 +9,7 @@ Subject: [PATCH] Update xz2 and use it static
 
 --- a/src/bootstrap/Cargo.toml
 +++ b/src/bootstrap/Cargo.toml
-@@ -60,7 +60,7 @@ tar = "0.4"
+@@ -55,7 +55,7 @@ tar = "0.4"
  termcolor = "1.4"
  toml = "0.5"
  walkdir = "2.4"
@@ -17,4 +17,4 @@ Subject: [PATCH] Update xz2 and use it static
 +xz2 = { version = "0.1", features = ["static"] }
  
  # Dependencies needed by the build-metrics feature
- sysinfo = { version = "0.30", default-features = false, optional = true }
+ sysinfo = { version = "0.35.0", default-features = false, optional = true, features = ["system"] }