Skip to content

Commit a77e0ab

Browse files
committed
Bug 1865758 - Update builders to rustc 1.76 r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D200870
1 parent c8cb899 commit a77e0ab

File tree

4 files changed

+26
-25
lines changed

4 files changed

+26
-25
lines changed

docs/writing-rust-code/update-policy.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,12 @@ Here are the Rust versions for each Firefox version.
149149
| Firefox 120 | Rust 1.72.0 | 1.70.0 | 2023 October 4 | 2023 October 19 | 2023 November 21
150150
| Firefox 121 | Rust 1.73.0 | 1.70.0 | 2023 October 4 | 2023 November 16 | 2023 December 19
151151
| Firefox 122 | Rust 1.74.0 | 1.70.0 | 2023 November 16 | 2023 December 14 | 2024 January 23
152+
| Firefox 123 | Rust 1.75.0 | 1.70.0 | 2023 December 28 | 2024 January 11 | 2024 February 20
152153
| **Estimated** |
153-
| Firefox 123 | Rust 1.75.0 | ? | 2023 December 28 | 2024 January 11 | 2024 February 20
154154
| Firefox 124 | Rust 1.76.0 | ? | 2023 February 8 | 2024 February 15 | 2024 March 19
155155
| Firefox 125 | Rust 1.76.0 | ? | 2023 February 8 | 2024 March 14 | 2024 April 16
156156
| Firefox 126 | Rust 1.77.0 | ? | 2023 March 21 | 2024 April 19 | 2024 May 14
157157
| Firefox 127 | Rust 1.78.0 | ? | 2023 May 2 | 2024 May 9 | 2024 June 11
158158
| Firefox 128 | Rust 1.78.0 | ? | 2023 May 2 | 2024 June 6 | 2024 July 9
159159
| Firefox 129 | Rust 1.79.0 | ? | 2023 June 13 | 2024 July 4 | 2024 August 6
160+
| Firefox 130 | Rust 1.80.0 | ? | 2023 July 25 | 2024 August 1 | 2024 September 3

mozglue/static/rust/build.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ fn main() {
1616
println!("cargo:rerun-if-changed=wrappers.cpp");
1717

1818
let ver = version().unwrap();
19-
let max_oom_hook_version = Version::parse("1.76.0-alpha").unwrap();
19+
let max_oom_hook_version = Version::parse("1.77.0-alpha").unwrap();
2020
// The new alloc error panic feature was temporarily reverted. We kept the
2121
// code in tree, but the version here is such that it's effectively never used.
22-
let max_alloc_error_panic_version = Version::parse("1.76.0-alpha").unwrap();
22+
let max_alloc_error_panic_version = Version::parse("1.77.0-alpha").unwrap();
2323

2424
if ver < max_oom_hook_version {
2525
println!("cargo:rustc-cfg=feature=\"oom_with_hook\"");

taskcluster/ci/fetch/toolchains.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -374,13 +374,13 @@ clang-trunk:
374374
# We build stable rust from source so the resulting compiler acts as a nightly
375375
# rust compiler, allowing to use unstable features like -Zbuild-std and
376376
# sanitizers.
377-
rust-1.75.0:
378-
description: Rust 1.75.0 source code
377+
rust-1.76.0:
378+
description: Rust 1.76.0 source code
379379
fetch:
380380
type: git
381381
include-dot-git: true
382382
repo: https://github.com/rust-lang/rust/
383-
revision: 82e1608dfa6e0b5569232559e3d385fea5a93112
383+
revision: 07dca489ac2d933c78d3c5158e3f43beefeb02ce
384384

385385
wasi-sdk-11:
386386
description: wasi-sdk-11 source code

taskcluster/ci/toolchain/rust.yml

+19-19
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ linux64-rust-1.70:
2626
- linux64-rust-base
2727
- linux64-rust-toolchain
2828

29-
linux64-rust-1.75:
29+
linux64-rust-1.76:
3030
treeherder:
3131
symbol: TL(rust)
3232
run:
3333
arguments: [
34-
'--channel', '1.75.0',
34+
'--channel', '1.76.0',
3535
'--host', 'x86_64-unknown-linux-gnu',
3636
'--target', 'x86_64-unknown-linux-gnu',
3737
'--target', 'i686-unknown-linux-gnu',
@@ -62,18 +62,18 @@ linux64-rust-dev:
6262
]
6363
fetches:
6464
fetch:
65-
- rust-1.75.0
65+
- rust-1.76.0
6666
toolchain:
6767
- linux64-clang-toolchain
6868
- linux64-toolchain-sysroot
6969

70-
linux64-rust-cross-1.75:
70+
linux64-rust-cross-1.76:
7171
description: "rust repack with macos and windows cross support"
7272
treeherder:
7373
symbol: TL(rust-cross)
7474
run:
7575
arguments: [
76-
'--channel', '1.75.0',
76+
'--channel', '1.76.0',
7777
'--host', 'x86_64-unknown-linux-gnu',
7878
'--target', 'x86_64-unknown-linux-gnu',
7979
'--target', 'i686-unknown-linux-gnu',
@@ -90,13 +90,13 @@ linux64-rust-cross-1.75:
9090
]
9191
toolchain-alias: linux64-rust-cross
9292

93-
linux64-rust-static-1.75:
93+
linux64-rust-static-1.76:
9494
description: "rust repack with static linking support"
9595
treeherder:
9696
symbol: TL(rust-static)
9797
run:
9898
arguments: [
99-
'--channel', '1.75.0',
99+
'--channel', '1.76.0',
100100
'--host', 'x86_64-unknown-linux-gnu',
101101
'--target', 'aarch64-unknown-linux-musl',
102102
'--target', 'x86_64-unknown-linux-gnu',
@@ -120,27 +120,27 @@ linux64-rust-macos-1.70:
120120
]
121121
toolchain-alias: linux64-rust-macos-toolchain
122122

123-
linux64-rust-macos-1.75:
123+
linux64-rust-macos-1.76:
124124
description: "rust repack with macos-cross support"
125125
treeherder:
126126
symbol: TL(rust-macos)
127127
run:
128128
arguments: [
129-
'--channel', '1.75.0',
129+
'--channel', '1.76.0',
130130
'--host', 'x86_64-unknown-linux-gnu',
131131
'--target', 'x86_64-unknown-linux-gnu',
132132
'--target', 'x86_64-apple-darwin',
133133
'--target', 'aarch64-apple-darwin',
134134
]
135135
toolchain-alias: linux64-rust-macos
136136

137-
linux64-rust-android-1.75:
137+
linux64-rust-android-1.76:
138138
description: "rust repack with android-cross support"
139139
treeherder:
140140
symbol: TL(rust-android)
141141
run:
142142
arguments: [
143-
'--channel', '1.75.0',
143+
'--channel', '1.76.0',
144144
'--host', 'x86_64-unknown-linux-gnu',
145145
'--target', 'x86_64-unknown-linux-gnu',
146146
'--target', 'armv7-linux-androideabi',
@@ -165,13 +165,13 @@ linux64-rust-windows-1.70:
165165
]
166166
toolchain-alias: linux64-rust-windows-toolchain
167167

168-
linux64-rust-windows-1.75:
168+
linux64-rust-windows-1.76:
169169
description: "rust repack with windows-cross support"
170170
treeherder:
171171
symbol: TL(rust-win)
172172
run:
173173
arguments: [
174-
'--channel', '1.75.0',
174+
'--channel', '1.76.0',
175175
'--host', 'x86_64-unknown-linux-gnu',
176176
'--target', 'x86_64-unknown-linux-gnu',
177177
'--target', 'x86_64-pc-windows-msvc',
@@ -180,36 +180,36 @@ linux64-rust-windows-1.75:
180180
]
181181
toolchain-alias: linux64-rust-windows
182182

183-
win64-rust-1.75:
183+
win64-rust-1.76:
184184
treeherder:
185185
symbol: TW64(rust)
186186
run:
187187
arguments: [
188-
'--channel', '1.75.0',
188+
'--channel', '1.76.0',
189189
'--host', 'x86_64-pc-windows-msvc',
190190
'--target', 'x86_64-pc-windows-msvc',
191191
'--target', 'i686-pc-windows-msvc',
192192
'--target', 'aarch64-pc-windows-msvc',
193193
]
194194
toolchain-alias: win64-rust
195195

196-
macosx64-rust-1.75:
196+
macosx64-rust-1.76:
197197
treeherder:
198198
symbol: TM(rust)
199199
run:
200200
arguments: [
201-
'--channel', '1.75.0',
201+
'--channel', '1.76.0',
202202
'--host', 'x86_64-apple-darwin',
203203
'--target', 'x86_64-apple-darwin',
204204
]
205205
toolchain-alias: macosx64-rust
206206

207-
mingw32-rust-1.75:
207+
mingw32-rust-1.76:
208208
treeherder:
209209
symbol: TMW(rust)
210210
run:
211211
arguments: [
212-
'--channel', '1.75.0',
212+
'--channel', '1.76.0',
213213
'--host', 'x86_64-unknown-linux-gnu',
214214
'--target', 'i686-unknown-linux-gnu',
215215
'--target', 'i686-pc-windows-gnu',

0 commit comments

Comments
 (0)