From bc55cd9f9bc9c5bcf10da91c5bb1c66467add469 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Thu, 7 Apr 2022 00:34:01 +0000 Subject: [PATCH] Bug 1763305: Update minimum Rust version to >= 1.59.0 r=glandium Differential Revision: https://phabricator.services.mozilla.com/D143007 --- docs/writing-rust-code/update-policy.md | 18 ++++++++++++------ python/mozboot/mozboot/util.py | 2 +- taskcluster/ci/build/linux-base-toolchains.yml | 8 ++++---- 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/docs/writing-rust-code/update-policy.md b/docs/writing-rust-code/update-policy.md index 09d86cac22dc..8d01c16b571f 100644 --- a/docs/writing-rust-code/update-policy.md +++ b/docs/writing-rust-code/update-policy.md @@ -9,10 +9,16 @@ release. Both benefit from the predictability of a schedule. ## Schedule -Release Firefox requirements: +Here are the Rust versions for each Firefox version. -| Firefox Version | Uses | Requires | Rust release date | Nightly Soft Freeze | Firefox release date | -|-----------------|------|----------|-------------------|---------------------|----------------------| +- The "Uses" column indicates the version of Rust used to build + releases shipped to users. + +- The "Requires" column indicates the oldest version of Rust that can + successfully build the sources. + +| Firefox Version | Uses | Requires | Rust "Uses" release date | Nightly Soft Freeze | Firefox release date | +|-----------------|------|----------|--------------------------|---------------------|----------------------| | Firefox 56 | Rust 1.19.0 | 1.17.0 | 2017 April 27 | | 2017 September 26 | Firefox 57 | Rust 1.19.0 | 1.19.0 | 2017 July 20 | | 2017 November 14 | Firefox 58 | Rust 1.21.0 | 1.21.0 | 2017 October 12 | | 2018 January 16 @@ -56,10 +62,10 @@ Release Firefox requirements: | Firefox 96 | Rust 1.57.0 | 1.53.0 | 2021 December 2 | 2021 December 2 | 2022 January 11 | Firefox 97 | Rust 1.57.0 | 1.57.0 | 2021 December 2 | 2022 January 6 | 2022 February 8 | Firefox 98 | Rust 1.58.0 | 1.57.0 | 2022 January 13 | 2022 February 2 | 2022 March 8 +| Firefox 99 | Rust 1.59.0 | 1.57.0 | 2022 February 24 | 2022 March 3 | 2022 April 5 +| Firefox 100 | Rust 1.59.0 | 1.57.0 | 2022 February 24 | 2022 March 31 | 2022 May 3 +| Firefox 101 | Rust 1.60.0 | 1.59.0 | 2022 April 7 | 2022 April 28 | 2022 May 31 | **Estimated** | -| Firefox 99 | Rust 1.59.0 | ? | 2022 February 24 | 2022 March 3 | 2022 April 5 -| Firefox 100 | Rust 1.59.0 | ? | 2022 February 24 | 2022 March 31 | 2022 May 3 -| Firefox 101 | Rust 1.60.0 | ? | 2022 April 7 | 2022 April 28 | 2022 May 31 | Firefox 102 | Rust 1.61.0 | ? | 2022 May 19 | 2022 May 26 | 2022 June 28 | Firefox 103 | Rust 1.61.0 | ? | 2022 May 19 | 2022 June 23 | 2022 July 27 | Firefox 104 | Rust 1.62.0 | ? | 2022 June 30 | 2022 July 21 | 2022 August 23 diff --git a/python/mozboot/mozboot/util.py b/python/mozboot/mozboot/util.py index 1d6d546ea4d1..86720993d0fa 100644 --- a/python/mozboot/mozboot/util.py +++ b/python/mozboot/mozboot/util.py @@ -23,7 +23,7 @@ if sys.version_info < (3,): else: from urllib.request import urlopen -MINIMUM_RUST_VERSION = "1.57.0" +MINIMUM_RUST_VERSION = "1.59.0" def get_tools_dir(srcdir=False): diff --git a/taskcluster/ci/build/linux-base-toolchains.yml b/taskcluster/ci/build/linux-base-toolchains.yml index 4de0edc7ae6f..ed637956c399 100644 --- a/taskcluster/ci/build/linux-base-toolchains.yml +++ b/taskcluster/ci/build/linux-base-toolchains.yml @@ -38,7 +38,7 @@ linux64-base-toolchains/opt: toolchain: - linux64-clang-5.0 - linux64-gcc-7 - - linux64-rust-1.57 + - linux64-rust-1.59 - linux64-cbindgen - linux64-dump_syms - linux64-sccache @@ -78,7 +78,7 @@ linux64-base-toolchains/debug: toolchain: - linux64-clang-5.0 - linux64-gcc-7 - - linux64-rust-1.57 + - linux64-rust-1.59 - linux64-cbindgen - linux64-dump_syms - linux64-sccache @@ -114,7 +114,7 @@ linux64-base-toolchains-clang/opt: toolchain: - linux64-binutils-2.31.1 - linux64-clang-5.0 - - linux64-rust-1.57 + - linux64-rust-1.59 - linux64-cbindgen - linux64-dump_syms - linux64-nasm-2.14.02 @@ -152,7 +152,7 @@ linux64-base-toolchains-clang/debug: toolchain: - linux64-binutils-2.31.1 - linux64-clang-5.0 - - linux64-rust-1.57 + - linux64-rust-1.59 - linux64-cbindgen - linux64-dump_syms - linux64-nasm-2.14.02