Skip to content

Commit 87776d7

Browse files
committed
Auto merge of #79132 - pietroalbini:beta-next, r=Mark-Simulacrum
Prepare beta 1.49.0 This PR sets everything up for beta 1.49.0, and backports the following PRs to it: * #79107 - build-manifest: strip newline from rustc version * #78986 - Avoid installing external LLVM dylibs * #79074 - Install CI llvm into the library directory * #78364 - Update RELEASES.md for 1.48.0 * #77939 - Ensure that the source code display is working with DOS backline r? `@ghost` cc `@rust-lang/release`
2 parents c919f49 + 7477867 commit 87776d7

File tree

4 files changed

+31
-36
lines changed

4 files changed

+31
-36
lines changed

src/bootstrap/dist.rs

+7-1
Original file line numberDiff line numberDiff line change
@@ -1336,7 +1336,13 @@ impl Step for Rls {
13361336
let rls = builder
13371337
.ensure(tool::Rls { compiler, target, extra_features: Vec::new() })
13381338
.or_else(|| {
1339-
missing_tool("RLS", builder.build.config.missing_tools);
1339+
// We ignore failure on aarch64 Windows because RLS currently
1340+
// fails to build, due to winapi 0.2 not supporting aarch64.
1341+
missing_tool(
1342+
"RLS",
1343+
builder.build.config.missing_tools
1344+
|| (target.triple.contains("aarch64") && target.triple.contains("windows")),
1345+
);
13401346
None
13411347
})?;
13421348

src/ci/run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ fi
6363
#
6464
# FIXME: need a scheme for changing this `nightly` value to `beta` and `stable`
6565
# either automatically or manually.
66-
export RUST_RELEASE_CHANNEL=nightly
66+
export RUST_RELEASE_CHANNEL=beta
6767

6868
# Always set the release channel for bootstrap; this is normally not important (i.e., only dist
6969
# builds would seem to matter) but in practice bootstrap wants to know whether we're targeting

src/stage0.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
# source tarball for a stable release you'll likely see `1.x.0` for rustc and
1313
# `0.(x+1).0` for Cargo where they were released on `date`.
1414

15-
date: 2020-10-16
16-
rustc: beta
17-
cargo: beta
15+
date: 2020-11-16
16+
rustc: 1.48.0
17+
cargo: 1.48.0
1818

1919
# We use a nightly rustfmt to format the source because it solves some
2020
# bootstrapping issues with use of new syntax in this repo. If you're looking at
2121
# the beta/stable branch, this key should be omitted, as we don't want to depend
2222
# on rustfmt from nightly there.
23-
rustfmt: nightly-2020-10-12
23+
#rustfmt: nightly-2020-10-12
2424

2525
# When making a stable release the process currently looks like:
2626
#
@@ -40,4 +40,4 @@ rustfmt: nightly-2020-10-12
4040
# looking at a beta source tarball and it's uncommented we'll shortly comment it
4141
# out.
4242

43-
#dev: 1
43+
dev: 1
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,20 @@
11
error: `#[derive(SessionDiagnostic)]` can only be used on structs
22
--> $DIR/session-derive-errors.rs:28:1
33
|
4-
LL | / #[error = "E0123"]
5-
LL | |
6-
LL | | enum SessionDiagnosticOnEnum {
7-
LL | | Foo,
8-
LL | | Bar,
9-
LL | | }
10-
| |_^
4+
LL | #[error = "E0123"]
5+
| ^
116

127
error: `#[label = ...]` is not a valid SessionDiagnostic struct attribute
138
--> $DIR/session-derive-errors.rs:37:1
149
|
1510
LL | #[label = "This is in the wrong place"]
16-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11+
| ^
1712

1813
error: `#[suggestion = ...]` is not a valid SessionDiagnostic field attribute
1914
--> $DIR/session-derive-errors.rs:44:5
2015
|
2116
LL | #[suggestion = "this is the wrong kind of attribute"]
22-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
17+
| ^
2318

2419
error: `error` specified multiple times
2520
--> $DIR/session-derive-errors.rs:52:11
@@ -37,21 +32,21 @@ error: `code` not specified
3732
--> $DIR/session-derive-errors.rs:67:1
3833
|
3934
LL | struct ErrorCodeNotProvided {}
40-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
35+
| ^^^^^^
4136
|
4237
= help: use the [code = "..."] attribute to set this diagnostic's error code
4338

4439
error: the `#[message = "..."]` attribute can only be applied to fields of type Span
4540
--> $DIR/session-derive-errors.rs:95:5
4641
|
4742
LL | #[message = "this message is applied to a String field"]
48-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
43+
| ^
4944

5045
error: `name` doesn't refer to a field on this type
5146
--> $DIR/session-derive-errors.rs:102:1
5247
|
5348
LL | #[message = "This error has a field, and references {name}"]
54-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
49+
| ^
5550

5651
error: invalid format string: expected `'}'` but string was terminated
5752
--> $DIR/session-derive-errors.rs:110:1
@@ -77,59 +72,53 @@ error: The `#[label = ...]` attribute can only be applied to fields of type Span
7772
--> $DIR/session-derive-errors.rs:138:5
7873
|
7974
LL | #[label = "See here"]
80-
| ^^^^^^^^^^^^^^^^^^^^^
75+
| ^
8176

8277
error: `nonsense` is not a valid key for `#[suggestion(...)]`
8378
--> $DIR/session-derive-errors.rs:163:18
8479
|
8580
LL | #[suggestion(nonsense = "This is nonsense")]
86-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
81+
| ^^^^^^^^
8782

8883
error: `msg` is not a valid key for `#[suggestion(...)]`
8984
--> $DIR/session-derive-errors.rs:171:18
9085
|
9186
LL | #[suggestion(msg = "This is a suggestion")]
92-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
87+
| ^^^
9388

9489
error: missing suggestion message
9590
--> $DIR/session-derive-errors.rs:179:7
9691
|
9792
LL | #[suggestion(code = "This is suggested code")]
98-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
93+
| ^^^^^^^^^^
9994
|
10095
= help: provide a suggestion message using #[suggestion(message = "...")]
10196

10297
error: wrong field type for suggestion
10398
--> $DIR/session-derive-errors.rs:194:5
10499
|
105-
LL | / #[suggestion(message = "This is a message", code = "This is suggested code")]
106-
LL | |
107-
LL | | suggestion: Applicability,
108-
| |_____________________________^
100+
LL | #[suggestion(message = "This is a message", code = "This is suggested code")]
101+
| ^
109102
|
110103
= help: #[suggestion(...)] should be applied to fields of type Span or (Span, Applicability)
111104

112105
error: type of field annotated with `#[suggestion(...)]` contains more than one Span
113106
--> $DIR/session-derive-errors.rs:209:5
114107
|
115-
LL | / #[suggestion(message = "This is a message", code = "This is suggested code")]
116-
LL | |
117-
LL | | suggestion: (Span, Span, Applicability),
118-
| |___________________________________________^
108+
LL | #[suggestion(message = "This is a message", code = "This is suggested code")]
109+
| ^
119110

120111
error: type of field annotated with `#[suggestion(...)]` contains more than one Applicability
121112
--> $DIR/session-derive-errors.rs:217:5
122113
|
123-
LL | / #[suggestion(message = "This is a message", code = "This is suggested code")]
124-
LL | |
125-
LL | | suggestion: (Applicability, Applicability, Span),
126-
| |____________________________________________________^
114+
LL | #[suggestion(message = "This is a message", code = "This is suggested code")]
115+
| ^
127116

128117
error: invalid annotation list `#[label(...)]`
129118
--> $DIR/session-derive-errors.rs:225:7
130119
|
131120
LL | #[label("wrong kind of annotation for label")]
132-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
121+
| ^^^^^
133122

134123
error: aborting due to 18 previous errors
135124

0 commit comments

Comments
 (0)