Skip to content

Commit 84fd10c

Browse files
authored
rust: update to 1.90.0 (#5637)
config changes: - rust.lld is now false by default, and setting it to true with external LLVM is not supported
1 parent 3a8ec5e commit 84fd10c

File tree

3 files changed

+21
-8
lines changed

3 files changed

+21
-8
lines changed

rust/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/cadb56d92e596d4922dda253e3ca374b0479627c.patch
2+
/26b157572280d058c8a800e4888f4b37062eb533.patch
3+
/af0d6f129096dabeee42978c84596a3acb43c1b0.patch

rust/PKGBUILD

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
_bootstrapping=no
44

55
rust_dist_server=https://static.rust-lang.org/dist
6-
#rust_dist_server=https://dev-static.rust-lang.org/dist/2025-08-04
6+
#rust_dist_server=https://dev-static.rust-lang.org/dist/2025-09-14
77

88
pkgname=rust
9-
pkgver=1.89.0
10-
pkgrel=3
9+
pkgver=1.90.0
10+
pkgrel=1
1111
pkgdesc="Systems programming language focused on safety, speed and concurrency"
1212
arch=('x86_64')
1313
url="https://www.rust-lang.org/"
@@ -34,11 +34,17 @@ makedepends=('gcc'
3434
'libcurl-devel'
3535
$([[ "$_bootstrapping" == "no" ]] && echo 'rust'))
3636
source=("${rust_dist_server}/${pkgname}c-${pkgver}-src.tar.gz"{,.asc}
37-
"bootstrap.toml")
37+
"bootstrap.toml"
38+
"https://github.com/rust-lang/rust/commit/cadb56d92e596d4922dda253e3ca374b0479627c.patch"
39+
"https://github.com/rust-lang/rust/commit/26b157572280d058c8a800e4888f4b37062eb533.patch"
40+
"https://github.com/rust-lang/rust/commit/af0d6f129096dabeee42978c84596a3acb43c1b0.patch")
3841
noextract=(${pkgname}c-${pkgver}-src.tar.gz)
39-
sha256sums=('2576f9f440dd99b0151bd28f59aa0ac6102d5c4f3ed4ef8a810c8dd05057250d'
42+
sha256sums=('799a9f9cba4ed5351e071048bcf6b5560755d9009648def33a407dd4961f9b7e'
4043
'SKIP'
41-
'b6e07703a723efa0e59ef2dac0fae62473d14d67afab606a514a9555ab45b56e')
44+
'd3d06a1b57fd90238c58750b6e5e609a43caedecc5e8336d5d6fe36b88e8e0ae'
45+
'36dc685fb7b10ac7dd6f97095db530c6120b7f3a7d62aea49a7a9eb9d0461b24'
46+
'f461756029a2b7f35cc458e67eaada44e57eb3e0d8ae98db85f90b52dad2ccfc'
47+
'b72da28a20a43f924dbeca8798b7c86915c80513ef81d29e0742a699070827bc')
4248
validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE' # Rust Language (Tag and Release Signing Key) <[email protected]>
4349
'474E22316ABF4785A88C6E8EA2C794A986419D8A' # Tom Stellard <[email protected]>
4450
'B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg <[email protected]>
@@ -48,6 +54,11 @@ prepare() {
4854
export MSYS=winsymlinks:nativestrict
4955
plain "Extracting ${pkgname}c-${pkgver}-src.tar.gz"
5056
tar -xzf ${pkgname}c-${pkgver}-src.tar.gz || true
57+
58+
cd ${pkgname}c-${pkgver}-src
59+
patch -Np1 -i ../cadb56d92e596d4922dda253e3ca374b0479627c.patch
60+
patch -Np1 -i ../26b157572280d058c8a800e4888f4b37062eb533.patch
61+
patch -Np1 -i ../af0d6f129096dabeee42978c84596a3acb43c1b0.patch
5162
}
5263

5364
build() {

rust/bootstrap.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
profile = "dist"
33

44
# see src/bootstrap/src/utils/change_tracker.rs
5-
change-id = 142379
5+
change-id = 144675
66

77
[llvm]
88
link-shared = true
@@ -42,7 +42,6 @@ channel = "stable"
4242
rpath = false
4343
frame-pointers = true
4444
llvm-bitcode-linker = false
45-
lld = false
4645
llvm-tools = false
4746
codegen-tests = false
4847
deny-warnings = false

0 commit comments

Comments
 (0)