diff --git a/docs/writing-rust-code/update-policy.md b/docs/writing-rust-code/update-policy.md index f0d27a3b7ddb..5295f09413b5 100644 --- a/docs/writing-rust-code/update-policy.md +++ b/docs/writing-rust-code/update-policy.md @@ -150,11 +150,13 @@ Here are the Rust versions for each Firefox version. | Firefox 121 | Rust 1.73.0 | 1.70.0 | 2023 October 4 | 2023 November 16 | 2023 December 19 | Firefox 122 | Rust 1.74.0 | 1.70.0 | 2023 November 16 | 2023 December 14 | 2024 January 23 | Firefox 123 | Rust 1.75.0 | 1.70.0 | 2023 December 28 | 2024 January 11 | 2024 February 20 +| Firefox 124 | Rust 1.76.0 | 1.70.0 | 2024 February 8 | 2024 February 15 | 2024 March 19 +| Firefox 125 | Rust 1.76.0 | 1.74.0 | 2024 February 8 | 2024 March 14 | 2024 April 16 | **Estimated** | -| Firefox 124 | Rust 1.76.0 | ? | 2023 February 8 | 2024 February 15 | 2024 March 19 -| Firefox 125 | Rust 1.76.0 | ? | 2023 February 8 | 2024 March 14 | 2024 April 16 -| Firefox 126 | Rust 1.77.0 | ? | 2023 March 21 | 2024 April 19 | 2024 May 14 -| Firefox 127 | Rust 1.78.0 | ? | 2023 May 2 | 2024 May 9 | 2024 June 11 -| Firefox 128 | Rust 1.78.0 | ? | 2023 May 2 | 2024 June 6 | 2024 July 9 -| Firefox 129 | Rust 1.79.0 | ? | 2023 June 13 | 2024 July 4 | 2024 August 6 -| Firefox 130 | Rust 1.80.0 | ? | 2023 July 25 | 2024 August 1 | 2024 September 3 +| Firefox 126 | Rust 1.77.0 | ? | 2024 March 21 | 2024 April 19 | 2024 May 14 +| Firefox 127 | Rust 1.78.0 | ? | 2024 May 2 | 2024 May 9 | 2024 June 11 +| Firefox 128 | Rust 1.78.0 | ? | 2024 May 2 | 2024 June 6 | 2024 July 9 +| Firefox 129 | Rust 1.79.0 | ? | 2024 June 13 | 2024 July 4 | 2024 August 6 +| Firefox 130 | Rust 1.80.0 | ? | 2024 July 25 | 2024 August 1 | 2024 September 3 +| Firefox 131 | Rust 1.80.0 | ? | 2024 July 25 | 2024 August 29 | 2024 October 1 +| Firefox 132 | Rust 1.81.0 | ? | 2024 September 5 | 2024 September 26 | 2024 October 29 diff --git a/mozglue/static/rust/build.rs b/mozglue/static/rust/build.rs index e44419fb16c3..1daa5840701b 100644 --- a/mozglue/static/rust/build.rs +++ b/mozglue/static/rust/build.rs @@ -16,10 +16,10 @@ fn main() { println!("cargo:rerun-if-changed=wrappers.cpp"); let ver = version().unwrap(); - let max_oom_hook_version = Version::parse("1.77.0-alpha").unwrap(); + let max_oom_hook_version = Version::parse("1.78.0-alpha").unwrap(); // The new alloc error panic feature was temporarily reverted. We kept the // code in tree, but the version here is such that it's effectively never used. - let max_alloc_error_panic_version = Version::parse("1.77.0-alpha").unwrap(); + let max_alloc_error_panic_version = Version::parse("1.78.0-alpha").unwrap(); if ver < max_oom_hook_version { println!("cargo:rustc-cfg=feature=\"oom_with_hook\""); diff --git a/taskcluster/ci/fetch/toolchains.yml b/taskcluster/ci/fetch/toolchains.yml index 6a6d40055d40..d49098cd7980 100644 --- a/taskcluster/ci/fetch/toolchains.yml +++ b/taskcluster/ci/fetch/toolchains.yml @@ -380,13 +380,13 @@ clang-trunk: # We build stable rust from source so the resulting compiler acts as a nightly # rust compiler, allowing to use unstable features like -Zbuild-std and # sanitizers. -rust-1.76.0: - description: Rust 1.76.0 source code +rust-1.77.0: + description: Rust 1.77.0 source code fetch: type: git include-dot-git: true repo: https://github.com/rust-lang/rust/ - revision: 07dca489ac2d933c78d3c5158e3f43beefeb02ce + revision: aedd173a2c086e558c2b66d3743b344f977621a7 wasi-sdk-11: description: wasi-sdk-11 source code diff --git a/taskcluster/ci/toolchain/rust.yml b/taskcluster/ci/toolchain/rust.yml index 62f4fd4747ea..7fe4579b0110 100644 --- a/taskcluster/ci/toolchain/rust.yml +++ b/taskcluster/ci/toolchain/rust.yml @@ -26,12 +26,12 @@ linux64-rust-1.74: - linux64-rust-base - linux64-rust-toolchain -linux64-rust-1.76: +linux64-rust-1.77: treeherder: symbol: TL(rust) run: arguments: [ - '--channel', '1.76.0', + '--channel', '1.77.0', '--host', 'x86_64-unknown-linux-gnu', '--target', 'x86_64-unknown-linux-gnu', '--target', 'i686-unknown-linux-gnu', @@ -62,18 +62,18 @@ linux64-rust-dev: ] fetches: fetch: - - rust-1.76.0 + - rust-1.77.0 toolchain: - linux64-clang-toolchain - linux64-toolchain-sysroot -linux64-rust-cross-1.76: +linux64-rust-cross-1.77: description: "rust repack with macos and windows cross support" treeherder: symbol: TL(rust-cross) run: arguments: [ - '--channel', '1.76.0', + '--channel', '1.77.0', '--host', 'x86_64-unknown-linux-gnu', '--target', 'x86_64-unknown-linux-gnu', '--target', 'i686-unknown-linux-gnu', @@ -90,13 +90,13 @@ linux64-rust-cross-1.76: ] toolchain-alias: linux64-rust-cross -linux64-rust-static-1.76: +linux64-rust-static-1.77: description: "rust repack with static linking support" treeherder: symbol: TL(rust-static) run: arguments: [ - '--channel', '1.76.0', + '--channel', '1.77.0', '--host', 'x86_64-unknown-linux-gnu', '--target', 'aarch64-unknown-linux-musl', '--target', 'x86_64-unknown-linux-gnu', @@ -120,13 +120,13 @@ linux64-rust-macos-1.70: ] toolchain-alias: linux64-rust-macos-toolchain -linux64-rust-macos-1.76: +linux64-rust-macos-1.77: description: "rust repack with macos-cross support" treeherder: symbol: TL(rust-macos) run: arguments: [ - '--channel', '1.76.0', + '--channel', '1.77.0', '--host', 'x86_64-unknown-linux-gnu', '--target', 'x86_64-unknown-linux-gnu', '--target', 'x86_64-apple-darwin', @@ -134,13 +134,13 @@ linux64-rust-macos-1.76: ] toolchain-alias: linux64-rust-macos -linux64-rust-ios-1.76: +linux64-rust-ios-1.77: description: "rust repack with ios-cross support" treeherder: symbol: TL(rust-ios) run: arguments: [ - '--channel', '1.76.0', + '--channel', '1.77.0', '--host', 'x86_64-unknown-linux-gnu', '--target', 'x86_64-unknown-linux-gnu', '--target', 'aarch64-apple-ios', @@ -148,13 +148,13 @@ linux64-rust-ios-1.76: ] toolchain-alias: linux64-rust-ios -linux64-rust-android-1.76: +linux64-rust-android-1.77: description: "rust repack with android-cross support" treeherder: symbol: TL(rust-android) run: arguments: [ - '--channel', '1.76.0', + '--channel', '1.77.0', '--host', 'x86_64-unknown-linux-gnu', '--target', 'x86_64-unknown-linux-gnu', '--target', 'armv7-linux-androideabi', @@ -179,13 +179,13 @@ linux64-rust-windows-1.70: ] toolchain-alias: linux64-rust-windows-toolchain -linux64-rust-windows-1.76: +linux64-rust-windows-1.77: description: "rust repack with windows-cross support" treeherder: symbol: TL(rust-win) run: arguments: [ - '--channel', '1.76.0', + '--channel', '1.77.0', '--host', 'x86_64-unknown-linux-gnu', '--target', 'x86_64-unknown-linux-gnu', '--target', 'x86_64-pc-windows-msvc', @@ -194,12 +194,12 @@ linux64-rust-windows-1.76: ] toolchain-alias: linux64-rust-windows -win64-rust-1.76: +win64-rust-1.77: treeherder: symbol: TW64(rust) run: arguments: [ - '--channel', '1.76.0', + '--channel', '1.77.0', '--host', 'x86_64-pc-windows-msvc', '--target', 'x86_64-pc-windows-msvc', '--target', 'i686-pc-windows-msvc', @@ -207,23 +207,23 @@ win64-rust-1.76: ] toolchain-alias: win64-rust -macosx64-rust-1.76: +macosx64-rust-1.77: treeherder: symbol: TM(rust) run: arguments: [ - '--channel', '1.76.0', + '--channel', '1.77.0', '--host', 'x86_64-apple-darwin', '--target', 'x86_64-apple-darwin', ] toolchain-alias: macosx64-rust -mingw32-rust-1.76: +mingw32-rust-1.77: treeherder: symbol: TMW(rust) run: arguments: [ - '--channel', '1.76.0', + '--channel', '1.77.0', '--host', 'x86_64-unknown-linux-gnu', '--target', 'i686-unknown-linux-gnu', '--target', 'i686-pc-windows-gnu',