Bug 1723016 - Update builders to rustc 1.54. r=firefox-build-system-reviewers,nalexander

Differential Revision: https://phabricator.services.mozilla.com/D121247
This commit is contained in:
Mike Hommey 2021-08-03 02:03:32 +00:00
Родитель fc57eb2e71
Коммит c4d65ab921
7 изменённых файлов: 38 добавлений и 156 удалений

Просмотреть файл

@ -33,7 +33,7 @@ index 0b14df805..7bc5151a4 100644
- .iter()
- .map(|&name| {
- let source_path = SourceId::for_path(&src_path.join("library").join(name))?;
- let dep = Dependency::parse_no_deprecated(name, None, source_path)?;
- let dep = Dependency::parse(name, None, source_path)?;
+
+ // Special std packages should be pulled from `library/` and should be
+ // prefixed with `rustc-std-workspace-` in certain places.
@ -66,7 +66,7 @@ index 0b14df805..7bc5151a4 100644
+ entry.path()
+ };
+ let source_path = SourceId::for_path(&path)?;
+ let dep = Dependency::parse_no_deprecated(&name, None, source_path)?;
+ let dep = Dependency::parse(&name, None, source_path)?;
Ok(dep)
})
.collect::<CargoResult<Vec<_>>>()?;

Просмотреть файл

@ -149,6 +149,7 @@
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
...
fun:_ZN3std6thread5local4fast12Key$LT$T$GT$14try_initialize*
fun:_ZN5style5bloom19StyleBloom$LT$E$GT$3new*
...
@ -158,6 +159,7 @@
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
...
fun:_ZN3std6thread5local4fast12Key$LT$T$GT$14try_initialize*
...
fun:_ZN5style7sharing26StyleSharingCache$LT$E$GT$3new*

Просмотреть файл

@ -424,130 +424,9 @@
# Suppressions rooted at *style*values*specified*color*Color*style*parser*Parse*parse*
{
bug1447137-01
bug1447137
Memcheck:Cond
fun:*style*values*specified*color*Color*style*parser*Parse*parse*
fun:*style*SimpleShadow*
fun:*style*parse_value*
fun:*style*parse_into*
}
{
bug1447137-02
Memcheck:Cond
fun:*style*values*specified*color*Color*style*parser*Parse*parse*
fun:*style*UrlPaintServer*
fun:*style*parse_value*
fun:*style*parse_into*
}
{
bug1447137-03
Memcheck:Cond
fun:*style*values*specified*color*Color*style*parser*Parse*parse*
fun:*style*parse_fallback*
fun:*style*UrlPaintServer*
fun:*style*parse_value*
}
{
bug1447137-04
Memcheck:Cond
fun:*style*values*specified*color*Color*style*parser*Parse*parse*
fun:*style*parse_border*
fun:*style*parse_into*
fun:*style*parse_value*
}
{
bug1447137-05
Memcheck:Cond
fun:*style*values*specified*color*Color*style*parser*Parse*parse*
fun:*style*parse_quirky*
fun:*style*parse_value*
fun:*style*parse_into*
}
{
bug1447137-06
Memcheck:Cond
fun:*style*values*specified*color*Color*style*parser*Parse*parse*
fun:*style*parse_value*
fun:*style*parse_into*
fun:*style*parse_value*
}
{
bug1447137-07
Memcheck:Cond
fun:*style*values*specified*color*Color*style*parser*Parse*parse*
fun:*style*parse_border*
fun:*style*parse_value*
fun:*style*parse_into*
}
{
bug1447137-08
Memcheck:Cond
fun:*style*values*specified*color*Color*style*parser*Parse*parse*
fun:*style*parse_quirky*
fun:*style*parse_value*
fun:*style*substitute_variables*
}
{
bug1447137-09
Memcheck:Cond
fun:*style*values*specified*color*Color*style*parser*Parse*parse*
fun:*style*Gradient*
fun:*style*Parse*
fun:*style*parse_value*
}
{
bug1447137-10
Memcheck:Cond
fun:*style*values*specified*color*Color*style*parser*Parse*parse*
fun:*style*SimpleShadow*
fun:*style*parse*closure*
fun:*style*parse_value*
}
{
bug1447137-11
Memcheck:Cond
fun:*style*values*specified*color*Color*style*parser*Parse*parse*
fun:*style*parse_border*
fun:*style*substitute_variables*
fun:*style*substitute_variables*
}
{
bug1447137-12
Memcheck:Cond
fun:*style*values*specified*color*Color*style*parser*Parse*parse*
fun:*style*parse_border*
fun:*style*parse_value*
fun:*style*substitute_variables*
}
{
bug1447137-13
Memcheck:Cond
fun:*style*values*specified*color*Color*style*parser*Parse*parse*
fun:*style*parse_value*
fun:*style*substitute_variables*
fun:*style*substitute_variables*
}
{
bug1447137-14
Memcheck:Cond
fun:*style*values*specified*color*Color*style*parser*Parse*parse*
fun:*style*parse_value*
fun:*style*parse_into*
fun:*geckoservo*parse_property_into*
}
##########################################
@ -1054,6 +933,7 @@
{
Starting with rust 1.52
Memcheck:Cond
...
fun:_ZN5style10properties10shorthands4font10parse_into*
fun:_ZN5style10properties19PropertyDeclaration10parse_into*
fun:_ZN5style10properties17declaration_block31parse_property_declaration_list*

Просмотреть файл

@ -38,7 +38,7 @@ fn main() {
println!("cargo:rerun-if-changed=wrappers.cpp");
let ver = version().unwrap();
let max_oom_hook_version = Version::parse("1.55.0-alpha").unwrap();
let max_oom_hook_version = Version::parse("1.56.0-alpha").unwrap();
if ver < max_oom_hook_version {
println!("cargo:rustc-cfg=feature=\"oom_with_hook\"");

Просмотреть файл

@ -474,21 +474,21 @@ clang-trunk:
repo: https://github.com/llvm/llvm-project
branch: main
# This revision currently corresponds to rust nightly-2021-05-02,
# which is the first nightly with the version 1.54.0,
# This revision currently corresponds to rust nightly-2021-06-13,
# which is the first nightly with the version 1.55.0,
# so it should be as close as possible to the behaviour of
# stable-1.53.0.
# stable-1.54.0.
#
# We use this to build from source, so the resulting non-official
# artifacts will report their version as "1.54.0-dev", but will otherwise
# artifacts will report their version as "1.55.0-dev", but will otherwise
# behave like a nightly build. This means they will allow you to use
# unstable features like -Zbuild-std and sanitizers.
rust-1.54.0-dev:
description: Rust 1.54.0-dev source code
rust-1.55.0-dev:
description: Rust 1.55.0-dev source code
fetch:
type: git
repo: https://github.com/rust-lang/rust/
revision: 4de75720970a223b125a811d3662fd15a08d4d18
revision: 24bdc6d73a75dce9a7013ebc7c037013ff4ea099
wasi-sdk:
description: wasi-sdk source code

Просмотреть файл

@ -25,7 +25,7 @@ linux64-dump_syms:
toolchain:
- linux64-binutils
- linux64-clang-11
- linux64-rust-1.53
- linux64-rust-1.54
- sysroot-x86_64-linux-gnu
macosx64-dump_syms:
@ -37,7 +37,7 @@ macosx64-dump_syms:
toolchain-artifact: public/build/dump_syms.tar.xz
fetches:
toolchain:
- linux64-rust-macos-1.53
- linux64-rust-macos-1.54
- linux64-clang-11
- linux64-cctools-port-clang-11
- linux64-llvm-dsymutil
@ -52,7 +52,7 @@ macosx64-aarch64-dump_syms:
toolchain-artifact: public/build/dump_syms.tar.xz
fetches:
toolchain:
- linux64-rust-macos-1.53
- linux64-rust-macos-1.54
- linux64-clang-11
- linux64-cctools-port-clang-11
- linux64-llvm-dsymutil
@ -72,4 +72,4 @@ win64-dump_syms:
tooltool-downloads: internal
fetches:
toolchain:
- win64-rust-1.53
- win64-rust-1.54

Просмотреть файл

@ -44,12 +44,12 @@ linux64-rust-1.51:
toolchain:
- linux64-clang
linux64-rust-1.53:
linux64-rust-1.54:
treeherder:
symbol: TL(rust)
run:
arguments: [
'--channel', '1.53.0',
'--channel', '1.54.0',
'--host', 'x86_64-unknown-linux-gnu',
'--target', 'x86_64-unknown-linux-gnu',
'--target', 'i686-unknown-linux-gnu',
@ -80,19 +80,19 @@ linux64-rust-dev:
]
fetches:
fetch:
- rust-1.54.0-dev
- rust-1.55.0-dev
toolchain:
- linux64-clang
- linux64-binutils
linux64-rust-cross-1.53:
linux64-rust-cross-1.54:
description: "rust repack with macos and windows cross support"
treeherder:
symbol: TL(rust-cross)
run:
arguments: [
'--channel', '1.53.0',
'--channel', '1.54.0',
'--host', 'x86_64-unknown-linux-gnu',
'--target', 'x86_64-unknown-linux-gnu',
'--target', 'i686-unknown-linux-gnu',
@ -109,13 +109,13 @@ linux64-rust-cross-1.53:
]
toolchain-alias: linux64-rust-cross
linux64-rust-static-1.53:
linux64-rust-static-1.54:
description: "rust repack with static linking support"
treeherder:
symbol: TL(rust-static)
run:
arguments: [
'--channel', '1.53.0',
'--channel', '1.54.0',
'--host', 'x86_64-unknown-linux-gnu',
'--target', 'x86_64-unknown-linux-gnu',
'--target', 'x86_64-unknown-linux-musl',
@ -161,13 +161,13 @@ linux64-rust-macos-1.51:
'--target', 'x86_64-apple-darwin',
]
linux64-rust-macos-1.53:
linux64-rust-macos-1.54:
description: "rust repack with macos-cross support"
treeherder:
symbol: TL(rust-macos-1.53)
symbol: TL(rust-macos-1.54)
run:
arguments: [
'--channel', '1.53.0',
'--channel', '1.54.0',
'--host', 'x86_64-unknown-linux-gnu',
'--target', 'x86_64-unknown-linux-gnu',
'--target', 'x86_64-apple-darwin',
@ -175,13 +175,13 @@ linux64-rust-macos-1.53:
]
toolchain-alias: linux64-rust-macos
linux64-rust-android-1.53:
linux64-rust-android-1.54:
description: "rust repack with android-cross support"
treeherder:
symbol: TL(rust-android)
run:
arguments: [
'--channel', '1.53.0',
'--channel', '1.54.0',
'--host', 'x86_64-unknown-linux-gnu',
'--target', 'x86_64-unknown-linux-gnu',
'--target', 'armv7-linux-androideabi',
@ -222,13 +222,13 @@ linux64-rust-windows-1.51:
'--target', 'i686-pc-windows-msvc',
]
linux64-rust-windows-1.53:
linux64-rust-windows-1.54:
description: "rust repack with windows-cross support"
treeherder:
symbol: TL(rust-win)
run:
arguments: [
'--channel', '1.53.0',
'--channel', '1.54.0',
'--host', 'x86_64-unknown-linux-gnu',
'--target', 'x86_64-unknown-linux-gnu',
'--target', 'x86_64-pc-windows-msvc',
@ -260,12 +260,12 @@ win64-rust-1.51:
'--target', 'aarch64-pc-windows-msvc',
]
win64-rust-1.53:
win64-rust-1.54:
treeherder:
symbol: TW64(rust)
run:
arguments: [
'--channel', '1.53.0',
'--channel', '1.54.0',
'--host', 'x86_64-pc-windows-msvc',
'--target', 'x86_64-pc-windows-msvc',
'--target', 'i686-pc-windows-msvc',
@ -273,12 +273,12 @@ win64-rust-1.53:
]
toolchain-alias: win64-rust
macosx64-rust-1.53:
macosx64-rust-1.54:
treeherder:
symbol: TM(rust)
run:
arguments: [
'--channel', '1.53.0',
'--channel', '1.54.0',
'--host', 'x86_64-apple-darwin',
'--target', 'x86_64-apple-darwin',
]
@ -297,12 +297,12 @@ mingw32-rust-1.51:
'--target', 'x86_64-unknown-linux-gnu',
]
mingw32-rust-1.53:
mingw32-rust-1.54:
treeherder:
symbol: TMW(rust)
run:
arguments: [
'--channel', '1.53.0',
'--channel', '1.54.0',
'--host', 'x86_64-unknown-linux-gnu',
'--target', 'i686-unknown-linux-gnu',
'--target', 'i686-pc-windows-gnu',