From 73dae4e66578f7cf37867898f29a7fdb98464cca Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Thu, 6 May 2021 20:36:53 +0000 Subject: [PATCH] Bug 1708379 - Update builders to rustc 1.52. r=firefox-build-system-reviewers,andi,mhentges Differential Revision: https://phabricator.services.mozilla.com/D114451 --- taskcluster/ci/toolchain/rust.yml | 38 ++++++++++++++-------------- toolkit/library/rust/shared/build.rs | 2 +- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/taskcluster/ci/toolchain/rust.yml b/taskcluster/ci/toolchain/rust.yml index dc045891bb86..24dff473b152 100644 --- a/taskcluster/ci/toolchain/rust.yml +++ b/taskcluster/ci/toolchain/rust.yml @@ -27,12 +27,12 @@ linux64-rust-1.47: toolchain: - linux64-clang -linux64-rust-1.51: +linux64-rust-1.52: treeherder: symbol: TL(rust) run: arguments: [ - '--channel', '1.51.0', + '--channel', '1.52.0', '--host', 'x86_64-unknown-linux-gnu', '--target', 'x86_64-unknown-linux-gnu', '--target', 'i686-unknown-linux-gnu', @@ -82,13 +82,13 @@ linux64-rust-dev: - linux64-binutils -linux64-rust-cross-1.51: +linux64-rust-cross-1.52: description: "rust repack with macos and windows cross support" treeherder: symbol: TL(rust-cross) run: arguments: [ - '--channel', '1.51.0', + '--channel', '1.52.0', '--host', 'x86_64-unknown-linux-gnu', '--target', 'x86_64-unknown-linux-gnu', '--target', 'i686-unknown-linux-gnu', @@ -105,13 +105,13 @@ linux64-rust-cross-1.51: ] toolchain-alias: linux64-rust-cross -linux64-rust-static-1.51: +linux64-rust-static-1.52: description: "rust repack with static linking support" treeherder: symbol: TL(rust-static) run: arguments: [ - '--channel', '1.51.0', + '--channel', '1.52.0', '--host', 'x86_64-unknown-linux-gnu', '--target', 'x86_64-unknown-linux-gnu', '--target', 'x86_64-unknown-linux-musl', @@ -145,13 +145,13 @@ linux64-rust-macos-1.49: '--target', 'aarch64-apple-darwin', ] -linux64-rust-macos-1.51: +linux64-rust-macos-1.52: description: "rust repack with macos-cross support" treeherder: - symbol: TL(rust-macos-1.51) + symbol: TL(rust-macos-1.52) run: arguments: [ - '--channel', '1.51.0', + '--channel', '1.52.0', '--host', 'x86_64-unknown-linux-gnu', '--target', 'x86_64-unknown-linux-gnu', '--target', 'x86_64-apple-darwin', @@ -159,13 +159,13 @@ linux64-rust-macos-1.51: ] toolchain-alias: linux64-rust-macos -linux64-rust-android-1.51: +linux64-rust-android-1.52: description: "rust repack with android-cross support" treeherder: symbol: TL(rust-android) run: arguments: [ - '--channel', '1.51.0', + '--channel', '1.52.0', '--host', 'x86_64-unknown-linux-gnu', '--target', 'x86_64-unknown-linux-gnu', '--target', 'armv7-linux-androideabi', @@ -193,13 +193,13 @@ linux64-rust-windows-1.47: '--target', 'i686-pc-windows-msvc', ] -linux64-rust-windows-1.51: +linux64-rust-windows-1.52: description: "rust repack with windows-cross support" treeherder: symbol: TL(rust-win) run: arguments: [ - '--channel', '1.51.0', + '--channel', '1.52.0', '--host', 'x86_64-unknown-linux-gnu', '--target', 'x86_64-unknown-linux-gnu', '--target', 'x86_64-pc-windows-msvc', @@ -219,12 +219,12 @@ win64-rust-1.47: '--target', 'aarch64-pc-windows-msvc', ] -win64-rust-1.51: +win64-rust-1.52: treeherder: symbol: TW64(rust) run: arguments: [ - '--channel', '1.51.0', + '--channel', '1.52.0', '--host', 'x86_64-pc-windows-msvc', '--target', 'x86_64-pc-windows-msvc', '--target', 'i686-pc-windows-msvc', @@ -232,12 +232,12 @@ win64-rust-1.51: ] toolchain-alias: win64-rust -macosx64-rust-1.51: +macosx64-rust-1.52: treeherder: symbol: TM(rust) run: arguments: [ - '--channel', '1.51.0', + '--channel', '1.52.0', '--host', 'x86_64-apple-darwin', '--target', 'x86_64-apple-darwin', ] @@ -256,12 +256,12 @@ mingw32-rust-1.47: '--target', 'x86_64-unknown-linux-gnu', ] -mingw32-rust-1.51: +mingw32-rust-1.52: treeherder: symbol: TMW(rust) run: arguments: [ - '--channel', '1.51.0', + '--channel', '1.52.0', '--host', 'x86_64-unknown-linux-gnu', '--target', 'i686-unknown-linux-gnu', '--target', 'i686-pc-windows-gnu', diff --git a/toolkit/library/rust/shared/build.rs b/toolkit/library/rust/shared/build.rs index a561ca0b99fc..8e299f38bf47 100644 --- a/toolkit/library/rust/shared/build.rs +++ b/toolkit/library/rust/shared/build.rs @@ -9,7 +9,7 @@ use rustc_version::{version, Version}; fn main() { let ver = version().unwrap(); let mut bootstrap = false; - let max_oom_hook_version = Version::parse("1.52.0-alpha").unwrap(); + let max_oom_hook_version = Version::parse("1.53.0-alpha").unwrap(); if ver >= Version::parse("1.28.0-alpha").unwrap() && ver < max_oom_hook_version { println!("cargo:rustc-cfg=feature=\"oom_with_hook\"");