Skip to content

Commit 837c09f

Browse files
committed
Auto merge of #13452 - weihanglo:rust-1.77.0-backport, r=epage
[beta-1.77] chore: update jobserver to 0.1.28 Beta backports: - #13419 In order to make CI pass, the following PRs are also cherry-picked: - #13444 - 88bafd1 - e60678f
2 parents c8a48fa + b8f17ea commit 837c09f

File tree

7 files changed

+11
-10
lines changed

7 files changed

+11
-10
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ ignore = "0.4.21"
5959
im-rc = "15.1.0"
6060
indexmap = "2"
6161
itertools = "0.12.0"
62-
jobserver = "0.1.27"
62+
jobserver = "0.1.28"
6363
lazycell = "1.3.0"
6464
libc = "0.2.151"
6565
libgit2-sys = "0.16.2"

tests/build-std/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ fn cross_custom() {
155155
r#"
156156
{
157157
"llvm-target": "x86_64-unknown-none-gnu",
158-
"data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128",
158+
"data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128",
159159
"arch": "x86_64",
160160
"target-endian": "little",
161161
"target-pointer-width": "64",
@@ -196,7 +196,7 @@ fn custom_test_framework() {
196196
r#"
197197
{
198198
"llvm-target": "x86_64-unknown-none-gnu",
199-
"data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128",
199+
"data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128",
200200
"arch": "x86_64",
201201
"target-endian": "little",
202202
"target-pointer-width": "64",

tests/testsuite/custom_target.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pub trait Copy {
2222
const SIMPLE_SPEC: &str = r#"
2323
{
2424
"llvm-target": "x86_64-unknown-none-gnu",
25-
"data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128",
25+
"data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128",
2626
"arch": "x86_64",
2727
"target-endian": "little",
2828
"target-pointer-width": "64",

tests/testsuite/fix.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ fn do_not_fix_broken_builds() {
2929
p.cargo("fix --allow-no-vcs")
3030
.env("__CARGO_FIX_YOLO", "1")
3131
.with_status(101)
32-
.with_stderr_contains("[ERROR] could not compile `foo` (lib) due to 1 previous error")
32+
.with_stderr_contains("[ERROR] could not compile `foo` (lib) due to 1 previous error[..]")
3333
.run();
3434
assert!(p.read_file("src/lib.rs").contains("let mut x = 3;"));
3535
}
@@ -1502,6 +1502,7 @@ fn fix_shared_cross_workspace() {
15021502
// [FIXED] bar/src/../../foo/src/shared.rs (2 fixes)
15031503
// [FIXED] foo/src/shared.rs (2 fixes)
15041504
p.cargo("fix --allow-no-vcs")
1505+
.env("__CARGO_FIX_YOLO", "1")
15051506
.with_stderr_unordered(
15061507
"\
15071508
[CHECKING] foo v0.1.0 [..]

tests/testsuite/future_incompat_report.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use cargo_test_support::{basic_manifest, project, Project};
1515
// We use a special flag to force it to generate a report.
1616
const FUTURE_EXAMPLE: &'static str = "fn main() { let x = 1; }";
1717
// Some text that will be displayed when the lint fires.
18-
const FUTURE_OUTPUT: &'static str = "[..]unused_variables[..]";
18+
const FUTURE_OUTPUT: &'static str = "[..]unused variable[..]";
1919

2020
fn simple_project() -> Project {
2121
project()

tests/testsuite/messages.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ fn deduplicate_messages_basic() {
6060
let rustc_message = raw_rustc_output(&p, "src/lib.rs", &[]);
6161
let expected_output = format!(
6262
"{}\
63-
warning: `foo` (lib) generated 1 warning (run `cargo fix --lib -p foo` to apply 1 suggestion)
63+
warning: `foo` (lib) generated 1 warning[..]
6464
warning: `foo` (lib test) generated 1 warning (1 duplicate)
6565
[FINISHED] [..]
6666
[EXECUTABLE] unittests src/lib.rs (target/debug/deps/foo-[..][EXE])
@@ -103,7 +103,7 @@ fn deduplicate_messages_mismatched_warnings() {
103103
let expected_output = format!(
104104
"\
105105
{}\
106-
warning: `foo` (lib) generated 1 warning (run `cargo fix --lib -p foo` to apply 1 suggestion)
106+
warning: `foo` (lib) generated 1 warning[..]
107107
{}\
108108
warning: `foo` (lib test) generated 2 warnings (1 duplicate)
109109
[FINISHED] [..]

0 commit comments

Comments
 (0)