Skip to content

Commit d42d9f3

Browse files
authored
Merge branch 'rust-lang:master' into fix-issue-101993
2 parents a119803 + f79fae3 commit d42d9f3

File tree

1,533 files changed

+25915
-15248
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,533 files changed

+25915
-15248
lines changed

.github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ jobs:
122122
# which then uses log commands to actually set them.
123123
EXTRA_VARIABLES: ${{ toJson(matrix.env) }}
124124

125+
- name: setup upstream remote
126+
run: src/ci/scripts/setup-upstream-remote.sh
127+
125128
- name: ensure the channel matches the target branch
126129
run: src/ci/scripts/verify-channel.sh
127130

.mailmap

+2
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ Ben Striegel <[email protected]>
7474
Benjamin Jackman <[email protected]>
7575
Benoît Cortier <[email protected]>
7676
Bheesham Persaud <[email protected]> Bheesham Persaud <[email protected]>
77+
7778
7879
blake2-ppc <[email protected]> <blake2-ppc>
7980
blyxyas <[email protected]> Alejandra González <[email protected]>
@@ -311,6 +312,7 @@ Josh Driver <[email protected]>
311312
Josh Holmer <[email protected]>
312313
313314
315+
314316
Julian Knodt <[email protected]>
315317
316318
Junyoung Cho <[email protected]>

Cargo.lock

+57-39
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ version = "0.9.2"
9696
source = "registry+https://github.com/rust-lang/crates.io-index"
9797
checksum = "ccaf7e9dfbb6ab22c82e473cd1a8a7bd313c19a5b7e40970f3d89ef5a5c9e81e"
9898
dependencies = [
99-
"unicode-width",
99+
"unicode-width 0.1.14",
100100
"yansi-term",
101101
]
102102

@@ -107,7 +107,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
107107
checksum = "24e35ed54e5ea7997c14ed4c70ba043478db1112e98263b3b035907aa197d991"
108108
dependencies = [
109109
"anstyle",
110-
"unicode-width",
110+
"unicode-width 0.1.14",
111111
]
112112

113113
[[package]]
@@ -168,7 +168,7 @@ dependencies = [
168168
"anstyle",
169169
"anstyle-lossy",
170170
"html-escape",
171-
"unicode-width",
171+
"unicode-width 0.1.14",
172172
]
173173

174174
[[package]]
@@ -377,7 +377,7 @@ dependencies = [
377377
"cargo_metadata",
378378
"directories",
379379
"rustc-build-sysroot",
380-
"rustc_tools_util",
380+
"rustc_tools_util 0.4.0",
381381
"rustc_version",
382382
"serde",
383383
"serde_json",
@@ -552,7 +552,7 @@ dependencies = [
552552
"parking_lot",
553553
"quote",
554554
"regex",
555-
"rustc_tools_util",
555+
"rustc_tools_util 0.3.0",
556556
"serde",
557557
"serde_json",
558558
"syn 2.0.79",
@@ -737,7 +737,7 @@ dependencies = [
737737
"encode_unicode",
738738
"lazy_static",
739739
"libc",
740-
"unicode-width",
740+
"unicode-width 0.1.14",
741741
"windows-sys 0.52.0",
742742
]
743743

@@ -1425,7 +1425,7 @@ version = "0.2.21"
14251425
source = "registry+https://github.com/rust-lang/crates.io-index"
14261426
checksum = "14dbbfd5c71d70241ecf9e6f13737f7b5ce823821063188d7e46c41d371eebd5"
14271427
dependencies = [
1428-
"unicode-width",
1428+
"unicode-width 0.1.14",
14291429
]
14301430

14311431
[[package]]
@@ -1788,7 +1788,7 @@ dependencies = [
17881788
"instant",
17891789
"number_prefix",
17901790
"portable-atomic",
1791-
"unicode-width",
1791+
"unicode-width 0.1.14",
17921792
]
17931793

17941794
[[package]]
@@ -2590,7 +2590,7 @@ version = "0.1.6"
25902590
source = "registry+https://github.com/rust-lang/crates.io-index"
25912591
checksum = "d2ad9b889f1b12e0b9ee24db044b5129150d5eada288edc800f789928dc8c0e3"
25922592
dependencies = [
2593-
"unicode-width",
2593+
"unicode-width 0.1.14",
25942594
]
25952595

25962596
[[package]]
@@ -2601,7 +2601,7 @@ checksum = "9ad43c07024ef767f9160710b3a6773976194758c7919b17e63b863db0bdf7fb"
26012601
dependencies = [
26022602
"bytecount",
26032603
"fnv",
2604-
"unicode-width",
2604+
"unicode-width 0.1.14",
26052605
]
26062606

26072607
[[package]]
@@ -3416,6 +3416,7 @@ dependencies = [
34163416
"measureme",
34173417
"object 0.36.4",
34183418
"rustc-demangle",
3419+
"rustc_abi",
34193420
"rustc_ast",
34203421
"rustc_attr",
34213422
"rustc_codegen_ssa",
@@ -3456,6 +3457,7 @@ dependencies = [
34563457
"object 0.36.4",
34573458
"pathdiff",
34583459
"regex",
3460+
"rustc_abi",
34593461
"rustc_arena",
34603462
"rustc_ast",
34613463
"rustc_attr",
@@ -3493,6 +3495,7 @@ name = "rustc_const_eval"
34933495
version = "0.0.0"
34943496
dependencies = [
34953497
"either",
3498+
"rustc_abi",
34963499
"rustc_apfloat",
34973500
"rustc_ast",
34983501
"rustc_attr",
@@ -3772,6 +3775,7 @@ name = "rustc_hir_typeck"
37723775
version = "0.0.0"
37733776
dependencies = [
37743777
"itertools",
3778+
"rustc_abi",
37753779
"rustc_ast",
37763780
"rustc_ast_ir",
37773781
"rustc_attr",
@@ -4027,6 +4031,7 @@ dependencies = [
40274031
"gsgdt",
40284032
"polonius-engine",
40294033
"rustc-rayon-core",
4034+
"rustc_abi",
40304035
"rustc_apfloat",
40314036
"rustc_arena",
40324037
"rustc_ast",
@@ -4183,7 +4188,7 @@ dependencies = [
41834188
"thin-vec",
41844189
"tracing",
41854190
"unicode-normalization",
4186-
"unicode-width",
4191+
"unicode-width 0.2.0",
41874192
]
41884193

41894194
[[package]]
@@ -4417,7 +4422,7 @@ dependencies = [
44174422
"sha1",
44184423
"sha2",
44194424
"tracing",
4420-
"unicode-width",
4425+
"unicode-width 0.2.0",
44214426
]
44224427

44234428
[[package]]
@@ -4460,6 +4465,12 @@ version = "0.3.0"
44604465
source = "registry+https://github.com/rust-lang/crates.io-index"
44614466
checksum = "8ba09476327c4b70ccefb6180f046ef588c26a24cf5d269a9feba316eb4f029f"
44624467

4468+
[[package]]
4469+
name = "rustc_tools_util"
4470+
version = "0.4.0"
4471+
source = "registry+https://github.com/rust-lang/crates.io-index"
4472+
checksum = "3316159ab19e19d1065ecc49278e87f767a9dae9fae80348d2b4d4fa4ae02d4d"
4473+
44634474
[[package]]
44644475
name = "rustc_trait_selection"
44654476
version = "0.0.0"
@@ -4522,6 +4533,7 @@ name = "rustc_ty_utils"
45224533
version = "0.0.0"
45234534
dependencies = [
45244535
"itertools",
4536+
"rustc_abi",
45254537
"rustc_ast_ir",
45264538
"rustc_data_structures",
45274539
"rustc_errors",
@@ -4681,7 +4693,7 @@ dependencies = [
46814693
"tracing-subscriber",
46824694
"unicode-properties",
46834695
"unicode-segmentation",
4684-
"unicode-width",
4696+
"unicode-width 0.1.14",
46854697
]
46864698

46874699
[[package]]
@@ -5091,7 +5103,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
50915103
checksum = "4c998b0c8b921495196a48aabaf1901ff28be0760136e31604f7967b0792050e"
50925104
dependencies = [
50935105
"papergrid",
5094-
"unicode-width",
5106+
"unicode-width 0.1.14",
50955107
]
50965108

50975109
[[package]]
@@ -5640,6 +5652,12 @@ version = "0.1.14"
56405652
source = "registry+https://github.com/rust-lang/crates.io-index"
56415653
checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af"
56425654

5655+
[[package]]
5656+
name = "unicode-width"
5657+
version = "0.2.0"
5658+
source = "registry+https://github.com/rust-lang/crates.io-index"
5659+
checksum = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd"
5660+
56435661
[[package]]
56445662
name = "unicode-xid"
56455663
version = "0.2.6"
@@ -5798,16 +5816,16 @@ checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484"
57985816

57995817
[[package]]
58005818
name = "wasm-component-ld"
5801-
version = "0.5.9"
5819+
version = "0.5.10"
58025820
source = "registry+https://github.com/rust-lang/crates.io-index"
5803-
checksum = "fde17bc96539700198e12516230c76095cc215c84ef39ad206e1af3f84243e0f"
5821+
checksum = "4d4aa6bd7fbe7cffbed29fe3e236fda74419def1bdef6f80f989ec51137edf44"
58045822
dependencies = [
58055823
"anyhow",
58065824
"clap",
58075825
"lexopt",
58085826
"tempfile",
58095827
"wasi-preview1-component-adapter-provider",
5810-
"wasmparser 0.218.0",
5828+
"wasmparser 0.219.0",
58115829
"wat",
58125830
"wit-component",
58135831
"wit-parser",
@@ -5831,28 +5849,28 @@ dependencies = [
58315849

58325850
[[package]]
58335851
name = "wasm-encoder"
5834-
version = "0.218.0"
5852+
version = "0.219.0"
58355853
source = "registry+https://github.com/rust-lang/crates.io-index"
5836-
checksum = "22b896fa8ceb71091ace9bcb81e853f54043183a1c9667cf93422c40252ffa0a"
5854+
checksum = "e2b1b95711b3ad655656a341e301cc64e33cbee94de9a99a1c5a2ab88efab79d"
58375855
dependencies = [
58385856
"leb128",
5839-
"wasmparser 0.218.0",
5857+
"wasmparser 0.219.0",
58405858
]
58415859

58425860
[[package]]
58435861
name = "wasm-metadata"
5844-
version = "0.218.0"
5862+
version = "0.219.0"
58455863
source = "registry+https://github.com/rust-lang/crates.io-index"
5846-
checksum = "aa5eeb071abe8a2132fdd5565dabffee70775ee8c24fc7e300ac43f51f4a8a91"
5864+
checksum = "96132fe00dd17d092d2be289eeed5a0a68ad3cf30b68e8875bc953b96f55f0be"
58475865
dependencies = [
58485866
"anyhow",
58495867
"indexmap",
58505868
"serde",
58515869
"serde_derive",
58525870
"serde_json",
58535871
"spdx",
5854-
"wasm-encoder 0.218.0",
5855-
"wasmparser 0.218.0",
5872+
"wasm-encoder 0.219.0",
5873+
"wasmparser 0.219.0",
58565874
]
58575875

58585876
[[package]]
@@ -5867,9 +5885,9 @@ dependencies = [
58675885

58685886
[[package]]
58695887
name = "wasmparser"
5870-
version = "0.218.0"
5888+
version = "0.219.0"
58715889
source = "registry+https://github.com/rust-lang/crates.io-index"
5872-
checksum = "b09e46c7fceceaa72b2dd1a8a137ea7fd8f93dfaa69806010a709918e496c5dc"
5890+
checksum = "324b4e56d24439495b88cd81439dad5e97f3c7b1eedc3c7e10455ed1e045e9a2"
58735891
dependencies = [
58745892
"ahash",
58755893
"bitflags 2.6.0",
@@ -5881,22 +5899,22 @@ dependencies = [
58815899

58825900
[[package]]
58835901
name = "wast"
5884-
version = "218.0.0"
5902+
version = "219.0.0"
58855903
source = "registry+https://github.com/rust-lang/crates.io-index"
5886-
checksum = "8a53cd1f0fa505df97557e36a58bddb8296e2fcdcd089529545ebfdb18a1b9d7"
5904+
checksum = "06880ecb25662bc21db6a83f4fcc27c41f71fbcba4f1980b650c88ada92728e1"
58875905
dependencies = [
58885906
"bumpalo",
58895907
"leb128",
58905908
"memchr",
5891-
"unicode-width",
5892-
"wasm-encoder 0.218.0",
5909+
"unicode-width 0.1.14",
5910+
"wasm-encoder 0.219.0",
58935911
]
58945912

58955913
[[package]]
58965914
name = "wat"
5897-
version = "1.218.0"
5915+
version = "1.219.0"
58985916
source = "registry+https://github.com/rust-lang/crates.io-index"
5899-
checksum = "4f87f8e14e776762e07927c27c2054d2cf678aab9aae2d431a79b3e31e4dd391"
5917+
checksum = "11e56dbf9fc89111b0d97c91e683d7895b1a6e5633a729f2ccad2303724005b6"
59005918
dependencies = [
59015919
"wast",
59025920
]
@@ -6173,9 +6191,9 @@ dependencies = [
61736191

61746192
[[package]]
61756193
name = "wit-component"
6176-
version = "0.218.0"
6194+
version = "0.219.0"
61776195
source = "registry+https://github.com/rust-lang/crates.io-index"
6178-
checksum = "aa53aa7e6bf2b3e8ccaffbcc963fbdb672a603dc0af393a481b6cec24c266406"
6196+
checksum = "99a76111c20444a814019de20499d30940ecd219b9512ee296f034a5edb18a2d"
61796197
dependencies = [
61806198
"anyhow",
61816199
"bitflags 2.6.0",
@@ -6184,17 +6202,17 @@ dependencies = [
61846202
"serde",
61856203
"serde_derive",
61866204
"serde_json",
6187-
"wasm-encoder 0.218.0",
6205+
"wasm-encoder 0.219.0",
61886206
"wasm-metadata",
6189-
"wasmparser 0.218.0",
6207+
"wasmparser 0.219.0",
61906208
"wit-parser",
61916209
]
61926210

61936211
[[package]]
61946212
name = "wit-parser"
6195-
version = "0.218.0"
6213+
version = "0.219.0"
61966214
source = "registry+https://github.com/rust-lang/crates.io-index"
6197-
checksum = "0d3d1066ab761b115f97fef2b191090faabcb0f37b555b758d3caf42d4ed9e55"
6215+
checksum = "23102e180c0c464f36e293d31a27b524e3ece930d7b5527d2f33f9d2c963de64"
61986216
dependencies = [
61996217
"anyhow",
62006218
"id-arena",
@@ -6205,7 +6223,7 @@ dependencies = [
62056223
"serde_derive",
62066224
"serde_json",
62076225
"unicode-xid",
6208-
"wasmparser 0.218.0",
6226+
"wasmparser 0.219.0",
62096227
]
62106228

62116229
[[package]]

INSTALL.md

+17-3
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,23 @@ See [the rustc-dev-guide for more info][sysllvm].
7979
./configure
8080
```
8181

82-
If you plan to use `x.py install` to create an installation, it is
83-
recommended that you set the `prefix` value in the `[install]` section to a
84-
directory: `./configure --set install.prefix=<path>`
82+
If you plan to use `x.py install` to create an installation, you can either
83+
set `DESTDIR` environment variable to your custom directory path:
84+
85+
```bash
86+
export DESTDIR=<path>
87+
```
88+
89+
or set `prefix` and `sysconfdir` in the `[install]` section to your custom
90+
directory path:
91+
92+
```sh
93+
./configure --set install.prefix=<path> --set install.sysconfdir=<path>
94+
```
95+
96+
When the `DESTDIR` environment variable is present, the `prefix` and
97+
`sysconfdir` values are combined with the path from the `DESTDIR`
98+
environment variable.
8599

86100
3. Build and install:
87101

0 commit comments

Comments
 (0)