Skip to content

Commit 79ba69e

Browse files
authored
Merge branch 'master' into if-let-guard-stable
2 parents 9369253 + ebe9b00 commit 79ba69e

File tree

1,283 files changed

+21634
-14600
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,283 files changed

+21634
-14600
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,14 @@ jobs:
7373
needs: [ calculate_matrix ]
7474
runs-on: "${{ matrix.os }}"
7575
timeout-minutes: 360
76+
# The bors environment contains secrets required for elevated workflows (try and auto builds),
77+
# which need to access e.g. S3 and upload artifacts. We want to provide access to that
78+
# environment only on the try/auto branches, which are only accessible to bors.
79+
# This also ensures that PR CI (which doesn't get write access to S3) works, as it cannot
80+
# access the environment.
81+
#
82+
# We only enable the environment for the rust-lang/rust repository, so that CI works on forks.
83+
environment: ${{ ((github.repository == 'rust-lang/rust' && (github.ref == 'refs/heads/try' || github.ref == 'refs/heads/try-perf' || github.ref == 'refs/heads/auto')) && 'bors') || '' }}
7684
env:
7785
CI_JOB_NAME: ${{ matrix.name }}
7886
CI_JOB_DOC_URL: ${{ matrix.doc_url }}
@@ -225,8 +233,8 @@ jobs:
225233
fi
226234
exit ${STATUS}
227235
env:
228-
AWS_ACCESS_KEY_ID: ${{ env.CACHES_AWS_ACCESS_KEY_ID }}
229-
AWS_SECRET_ACCESS_KEY: ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}
236+
AWS_ACCESS_KEY_ID: ${{ secrets.CACHES_AWS_ACCESS_KEY_ID }}
237+
AWS_SECRET_ACCESS_KEY: ${{ secrets.CACHES_AWS_SECRET_ACCESS_KEY }}
230238

231239
- name: create github artifacts
232240
run: src/ci/scripts/create-doc-artifacts.sh
@@ -248,8 +256,8 @@ jobs:
248256
- name: upload artifacts to S3
249257
run: src/ci/scripts/upload-artifacts.sh
250258
env:
251-
AWS_ACCESS_KEY_ID: ${{ env.ARTIFACTS_AWS_ACCESS_KEY_ID }}
252-
AWS_SECRET_ACCESS_KEY: ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}
259+
AWS_ACCESS_KEY_ID: ${{ secrets.ARTIFACTS_AWS_ACCESS_KEY_ID }}
260+
AWS_SECRET_ACCESS_KEY: ${{ secrets.ARTIFACTS_AWS_SECRET_ACCESS_KEY }}
253261
# Adding a condition on DEPLOY=1 or DEPLOY_ALT=1 is not needed as all deploy
254262
# builders *should* have the AWS credentials available. Still, explicitly
255263
# adding the condition is helpful as this way CI will not silently skip

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ and we appreciate all of them.
55

66
The best way to get started is by asking for help in the [#new
77
members](https://rust-lang.zulipchat.com/#narrow/stream/122652-new-members)
8-
Zulip stream. We have lots of docs below of how to get started on your own, but
8+
Zulip stream. We have a lot of documentation below on how to get started on your own, but
99
the Zulip stream is the best place to *ask* for help.
1010

1111
Documentation for contributing to the compiler or tooling is located in the [Guide to Rustc
@@ -14,7 +14,7 @@ standard library in the [Standard library developers Guide][std-dev-guide], comm
1414

1515
## Making changes to subtrees and submodules
1616

17-
For submodules, changes need to be made against the repository corresponding the
17+
For submodules, changes need to be made against the repository corresponding to the
1818
submodule, and not the main `rust-lang/rust` repository.
1919

2020
For subtrees, prefer sending a PR against the subtree's repository if it does
@@ -25,15 +25,15 @@ rustc-dev-guide change that does not accompany a compiler change).
2525

2626
The [rustc-dev-guide] is meant to help document how rustc –the Rust compiler– works,
2727
as well as to help new contributors get involved in rustc development. It is recommended
28-
to read and understand the [rustc-dev-guide] before making a contribution. This guide
28+
that you read and understand the [rustc-dev-guide] before making a contribution. This guide
2929
talks about the different bots in the Rust ecosystem, the Rust development tools,
3030
bootstrapping, the compiler architecture, source code representation, and more.
3131

3232
## [Getting help](https://rustc-dev-guide.rust-lang.org/getting-started.html#asking-questions)
3333

3434
There are many ways you can get help when you're stuck. Rust has many platforms for this:
3535
[internals], [rust-zulip], and [rust-discord]. It is recommended to ask for help on
36-
the [rust-zulip], but any of these platforms are a great way to seek help and even
36+
the [rust-zulip], but any of these platforms are great ways to seek help and even
3737
find a mentor! You can learn more about asking questions and getting help in the
3838
[Asking Questions](https://rustc-dev-guide.rust-lang.org/getting-started.html#asking-questions) chapter of the [rustc-dev-guide].
3939

Cargo.lock

Lines changed: 59 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,20 @@ version = "0.13.1"
183183
source = "registry+https://github.com/rust-lang/crates.io-index"
184184
checksum = "5d4744ed2eef2645831b441d8f5459689ade2ab27c854488fbab1fbe94fce1a7"
185185
dependencies = [
186-
"askama_derive",
186+
"askama_derive 0.13.1",
187+
"itoa",
188+
"percent-encoding",
189+
"serde",
190+
"serde_json",
191+
]
192+
193+
[[package]]
194+
name = "askama"
195+
version = "0.14.0"
196+
source = "registry+https://github.com/rust-lang/crates.io-index"
197+
checksum = "f75363874b771be265f4ffe307ca705ef6f3baa19011c149da8674a87f1b75c4"
198+
dependencies = [
199+
"askama_derive 0.14.0",
187200
"itoa",
188201
"percent-encoding",
189202
"serde",
@@ -196,7 +209,24 @@ version = "0.13.1"
196209
source = "registry+https://github.com/rust-lang/crates.io-index"
197210
checksum = "d661e0f57be36a5c14c48f78d09011e67e0cb618f269cca9f2fd8d15b68c46ac"
198211
dependencies = [
199-
"askama_parser",
212+
"askama_parser 0.13.0",
213+
"basic-toml",
214+
"memchr",
215+
"proc-macro2",
216+
"quote",
217+
"rustc-hash 2.1.1",
218+
"serde",
219+
"serde_derive",
220+
"syn 2.0.101",
221+
]
222+
223+
[[package]]
224+
name = "askama_derive"
225+
version = "0.14.0"
226+
source = "registry+https://github.com/rust-lang/crates.io-index"
227+
checksum = "129397200fe83088e8a68407a8e2b1f826cf0086b21ccdb866a722c8bcd3a94f"
228+
dependencies = [
229+
"askama_parser 0.14.0",
200230
"basic-toml",
201231
"memchr",
202232
"proc-macro2",
@@ -219,6 +249,18 @@ dependencies = [
219249
"winnow 0.7.10",
220250
]
221251

252+
[[package]]
253+
name = "askama_parser"
254+
version = "0.14.0"
255+
source = "registry+https://github.com/rust-lang/crates.io-index"
256+
checksum = "d6ab5630b3d5eaf232620167977f95eb51f3432fc76852328774afbd242d4358"
257+
dependencies = [
258+
"memchr",
259+
"serde",
260+
"serde_derive",
261+
"winnow 0.7.10",
262+
]
263+
222264
[[package]]
223265
name = "autocfg"
224266
version = "1.4.0"
@@ -540,7 +582,7 @@ name = "clippy"
540582
version = "0.1.89"
541583
dependencies = [
542584
"anstream",
543-
"askama",
585+
"askama 0.13.1",
544586
"cargo_metadata 0.18.1",
545587
"clippy_config",
546588
"clippy_lints",
@@ -582,13 +624,11 @@ dependencies = [
582624
name = "clippy_dev"
583625
version = "0.0.1"
584626
dependencies = [
585-
"aho-corasick",
586627
"chrono",
587628
"clap",
588629
"indoc",
589630
"itertools",
590631
"opener",
591-
"shell-escape",
592632
"walkdir",
593633
]
594634

@@ -1219,16 +1259,16 @@ dependencies = [
12191259

12201260
[[package]]
12211261
name = "fluent-bundle"
1222-
version = "0.15.3"
1262+
version = "0.16.0"
12231263
source = "registry+https://github.com/rust-lang/crates.io-index"
1224-
checksum = "7fe0a21ee80050c678013f82edf4b705fe2f26f1f9877593d13198612503f493"
1264+
checksum = "01203cb8918f5711e73891b347816d932046f95f54207710bda99beaeb423bf4"
12251265
dependencies = [
12261266
"fluent-langneg",
12271267
"fluent-syntax",
12281268
"intl-memoizer",
12291269
"intl_pluralrules",
1230-
"rustc-hash 1.1.0",
1231-
"self_cell 0.10.3",
1270+
"rustc-hash 2.1.1",
1271+
"self_cell",
12321272
"smallvec",
12331273
"unic-langid",
12341274
]
@@ -1244,11 +1284,12 @@ dependencies = [
12441284

12451285
[[package]]
12461286
name = "fluent-syntax"
1247-
version = "0.11.1"
1287+
version = "0.12.0"
12481288
source = "registry+https://github.com/rust-lang/crates.io-index"
1249-
checksum = "2a530c4694a6a8d528794ee9bbd8ba0122e779629ac908d15ad5a7ae7763a33d"
1289+
checksum = "54f0d287c53ffd184d04d8677f590f4ac5379785529e5e08b1c8083acdd5c198"
12501290
dependencies = [
1251-
"thiserror 1.0.69",
1291+
"memchr",
1292+
"thiserror 2.0.12",
12521293
]
12531294

12541295
[[package]]
@@ -1391,7 +1432,7 @@ name = "generate-copyright"
13911432
version = "0.1.0"
13921433
dependencies = [
13931434
"anyhow",
1394-
"askama",
1435+
"askama 0.14.0",
13951436
"cargo_metadata 0.18.1",
13961437
"serde",
13971438
"serde_json",
@@ -1894,9 +1935,9 @@ dependencies = [
18941935

18951936
[[package]]
18961937
name = "intl-memoizer"
1897-
version = "0.5.2"
1938+
version = "0.5.3"
18981939
source = "registry+https://github.com/rust-lang/crates.io-index"
1899-
checksum = "fe22e020fce238ae18a6d5d8c502ee76a52a6e880d99477657e6acc30ec57bda"
1940+
checksum = "310da2e345f5eb861e7a07ee182262e94975051db9e4223e909ba90f392f163f"
19001941
dependencies = [
19011942
"type-map",
19021943
"unic-langid",
@@ -3118,9 +3159,9 @@ dependencies = [
31183159

31193160
[[package]]
31203161
name = "rustc-build-sysroot"
3121-
version = "0.5.5"
3162+
version = "0.5.7"
31223163
source = "registry+https://github.com/rust-lang/crates.io-index"
3123-
checksum = "fb332121f7845c6bd016f9655cf22f03c2999df936694b624a88669a78667d98"
3164+
checksum = "10edc2e4393515193bd766e2f6c050b0536a68e56f2b6d56c07ababfdc114ff0"
31243165
dependencies = [
31253166
"anyhow",
31263167
"rustc_version",
@@ -4624,7 +4665,7 @@ name = "rustdoc"
46244665
version = "0.0.0"
46254666
dependencies = [
46264667
"arrayvec",
4627-
"askama",
4668+
"askama 0.14.0",
46284669
"base64",
46294670
"expect-test",
46304671
"indexmap",
@@ -4792,15 +4833,6 @@ version = "1.2.0"
47924833
source = "registry+https://github.com/rust-lang/crates.io-index"
47934834
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
47944835

4795-
[[package]]
4796-
name = "self_cell"
4797-
version = "0.10.3"
4798-
source = "registry+https://github.com/rust-lang/crates.io-index"
4799-
checksum = "e14e4d63b804dc0c7ec4a1e52bcb63f02c7ac94476755aa579edac21e01f915d"
4800-
dependencies = [
4801-
"self_cell 1.2.0",
4802-
]
4803-
48044836
[[package]]
48054837
name = "self_cell"
48064838
version = "1.2.0"
@@ -4888,12 +4920,6 @@ dependencies = [
48884920
"lazy_static",
48894921
]
48904922

4891-
[[package]]
4892-
name = "shell-escape"
4893-
version = "0.1.5"
4894-
source = "registry+https://github.com/rust-lang/crates.io-index"
4895-
checksum = "45bb67a18fa91266cc7807181f62f9178a6873bfad7dc788c42e6430db40184f"
4896-
48974923
[[package]]
48984924
name = "shlex"
48994925
version = "1.3.0"

0 commit comments

Comments
 (0)