Skip to content

Commit bd8f2af

Browse files
committed
Auto merge of #3970 - RalfJung:rustup, r=RalfJung
Rustup
2 parents 15f0242 + 543d226 commit bd8f2af

File tree

1,488 files changed

+20950
-14771
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,488 files changed

+20950
-14771
lines changed

.github/ISSUE_TEMPLATE/blank_issue.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ Ben Striegel <ben.striegel@gmail.com>
7474
Benjamin Jackman <ben@jackman.biz>
7575
Benoît Cortier <benoit.cortier@fried-world.eu>
7676
Bheesham Persaud <bheesham123@hotmail.com> Bheesham Persaud <bheesham.persaud@live.ca>
77+
bjorn3 <17426603+bjorn3@users.noreply.github.com> <bjorn3@users.noreply.github.com>
7778
Björn Steinbrink <bsteinbr@gmail.com> <B.Steinbrink@gmx.de>
7879
blake2-ppc <ulrik.sverdrup@gmail.com> <blake2-ppc>
7980
blyxyas <blyxyas@gmail.com> Alejandra González <blyxyas@gmail.com>
@@ -311,6 +312,7 @@ Josh Driver <keeperofdakeys@gmail.com>
311312
Josh Holmer <jholmer.in@gmail.com>
312313
Josh Stone <cuviper@gmail.com> <jistone@redhat.com>
313314
Josh Stone <cuviper@gmail.com> <jistone@fedoraproject.org>
315+
Julia Ryan <juliaryan3.14@gmail.com> <josephryan3.14@gmail.com>
314316
Julian Knodt <julianknodt@gmail.com>
315317
jumbatm <jumbatm@gmail.com> <30644300+jumbatm@users.noreply.github.com>
316318
Junyoung Cho <june0.cho@samsung.com>

Cargo.lock

Lines changed: 49 additions & 37 deletions
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]]
@@ -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]]
@@ -4522,6 +4527,7 @@ name = "rustc_ty_utils"
45224527
version = "0.0.0"
45234528
dependencies = [
45244529
"itertools",
4530+
"rustc_abi",
45254531
"rustc_ast_ir",
45264532
"rustc_data_structures",
45274533
"rustc_errors",
@@ -4681,7 +4687,7 @@ dependencies = [
46814687
"tracing-subscriber",
46824688
"unicode-properties",
46834689
"unicode-segmentation",
4684-
"unicode-width",
4690+
"unicode-width 0.1.14",
46854691
]
46864692

46874693
[[package]]
@@ -5091,7 +5097,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
50915097
checksum = "4c998b0c8b921495196a48aabaf1901ff28be0760136e31604f7967b0792050e"
50925098
dependencies = [
50935099
"papergrid",
5094-
"unicode-width",
5100+
"unicode-width 0.1.14",
50955101
]
50965102

50975103
[[package]]
@@ -5640,6 +5646,12 @@ version = "0.1.14"
56405646
source = "registry+https://github.com/rust-lang/crates.io-index"
56415647
checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af"
56425648

5649+
[[package]]
5650+
name = "unicode-width"
5651+
version = "0.2.0"
5652+
source = "registry+https://github.com/rust-lang/crates.io-index"
5653+
checksum = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd"
5654+
56435655
[[package]]
56445656
name = "unicode-xid"
56455657
version = "0.2.6"
@@ -5798,16 +5810,16 @@ checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484"
57985810

57995811
[[package]]
58005812
name = "wasm-component-ld"
5801-
version = "0.5.9"
5813+
version = "0.5.10"
58025814
source = "registry+https://github.com/rust-lang/crates.io-index"
5803-
checksum = "fde17bc96539700198e12516230c76095cc215c84ef39ad206e1af3f84243e0f"
5815+
checksum = "4d4aa6bd7fbe7cffbed29fe3e236fda74419def1bdef6f80f989ec51137edf44"
58045816
dependencies = [
58055817
"anyhow",
58065818
"clap",
58075819
"lexopt",
58085820
"tempfile",
58095821
"wasi-preview1-component-adapter-provider",
5810-
"wasmparser 0.218.0",
5822+
"wasmparser 0.219.0",
58115823
"wat",
58125824
"wit-component",
58135825
"wit-parser",
@@ -5831,28 +5843,28 @@ dependencies = [
58315843

58325844
[[package]]
58335845
name = "wasm-encoder"
5834-
version = "0.218.0"
5846+
version = "0.219.0"
58355847
source = "registry+https://github.com/rust-lang/crates.io-index"
5836-
checksum = "22b896fa8ceb71091ace9bcb81e853f54043183a1c9667cf93422c40252ffa0a"
5848+
checksum = "e2b1b95711b3ad655656a341e301cc64e33cbee94de9a99a1c5a2ab88efab79d"
58375849
dependencies = [
58385850
"leb128",
5839-
"wasmparser 0.218.0",
5851+
"wasmparser 0.219.0",
58405852
]
58415853

58425854
[[package]]
58435855
name = "wasm-metadata"
5844-
version = "0.218.0"
5856+
version = "0.219.0"
58455857
source = "registry+https://github.com/rust-lang/crates.io-index"
5846-
checksum = "aa5eeb071abe8a2132fdd5565dabffee70775ee8c24fc7e300ac43f51f4a8a91"
5858+
checksum = "96132fe00dd17d092d2be289eeed5a0a68ad3cf30b68e8875bc953b96f55f0be"
58475859
dependencies = [
58485860
"anyhow",
58495861
"indexmap",
58505862
"serde",
58515863
"serde_derive",
58525864
"serde_json",
58535865
"spdx",
5854-
"wasm-encoder 0.218.0",
5855-
"wasmparser 0.218.0",
5866+
"wasm-encoder 0.219.0",
5867+
"wasmparser 0.219.0",
58565868
]
58575869

58585870
[[package]]
@@ -5867,9 +5879,9 @@ dependencies = [
58675879

58685880
[[package]]
58695881
name = "wasmparser"
5870-
version = "0.218.0"
5882+
version = "0.219.0"
58715883
source = "registry+https://github.com/rust-lang/crates.io-index"
5872-
checksum = "b09e46c7fceceaa72b2dd1a8a137ea7fd8f93dfaa69806010a709918e496c5dc"
5884+
checksum = "324b4e56d24439495b88cd81439dad5e97f3c7b1eedc3c7e10455ed1e045e9a2"
58735885
dependencies = [
58745886
"ahash",
58755887
"bitflags 2.6.0",
@@ -5881,22 +5893,22 @@ dependencies = [
58815893

58825894
[[package]]
58835895
name = "wast"
5884-
version = "218.0.0"
5896+
version = "219.0.0"
58855897
source = "registry+https://github.com/rust-lang/crates.io-index"
5886-
checksum = "8a53cd1f0fa505df97557e36a58bddb8296e2fcdcd089529545ebfdb18a1b9d7"
5898+
checksum = "06880ecb25662bc21db6a83f4fcc27c41f71fbcba4f1980b650c88ada92728e1"
58875899
dependencies = [
58885900
"bumpalo",
58895901
"leb128",
58905902
"memchr",
5891-
"unicode-width",
5892-
"wasm-encoder 0.218.0",
5903+
"unicode-width 0.1.14",
5904+
"wasm-encoder 0.219.0",
58935905
]
58945906

58955907
[[package]]
58965908
name = "wat"
5897-
version = "1.218.0"
5909+
version = "1.219.0"
58985910
source = "registry+https://github.com/rust-lang/crates.io-index"
5899-
checksum = "4f87f8e14e776762e07927c27c2054d2cf678aab9aae2d431a79b3e31e4dd391"
5911+
checksum = "11e56dbf9fc89111b0d97c91e683d7895b1a6e5633a729f2ccad2303724005b6"
59005912
dependencies = [
59015913
"wast",
59025914
]
@@ -6173,9 +6185,9 @@ dependencies = [
61736185

61746186
[[package]]
61756187
name = "wit-component"
6176-
version = "0.218.0"
6188+
version = "0.219.0"
61776189
source = "registry+https://github.com/rust-lang/crates.io-index"
6178-
checksum = "aa53aa7e6bf2b3e8ccaffbcc963fbdb672a603dc0af393a481b6cec24c266406"
6190+
checksum = "99a76111c20444a814019de20499d30940ecd219b9512ee296f034a5edb18a2d"
61796191
dependencies = [
61806192
"anyhow",
61816193
"bitflags 2.6.0",
@@ -6184,17 +6196,17 @@ dependencies = [
61846196
"serde",
61856197
"serde_derive",
61866198
"serde_json",
6187-
"wasm-encoder 0.218.0",
6199+
"wasm-encoder 0.219.0",
61886200
"wasm-metadata",
6189-
"wasmparser 0.218.0",
6201+
"wasmparser 0.219.0",
61906202
"wit-parser",
61916203
]
61926204

61936205
[[package]]
61946206
name = "wit-parser"
6195-
version = "0.218.0"
6207+
version = "0.219.0"
61966208
source = "registry+https://github.com/rust-lang/crates.io-index"
6197-
checksum = "0d3d1066ab761b115f97fef2b191090faabcb0f37b555b758d3caf42d4ed9e55"
6209+
checksum = "23102e180c0c464f36e293d31a27b524e3ece930d7b5527d2f33f9d2c963de64"
61986210
dependencies = [
61996211
"anyhow",
62006212
"id-arena",
@@ -6205,7 +6217,7 @@ dependencies = [
62056217
"serde_derive",
62066218
"serde_json",
62076219
"unicode-xid",
6208-
"wasmparser 0.218.0",
6220+
"wasmparser 0.219.0",
62096221
]
62106222

62116223
[[package]]

INSTALL.md

Lines changed: 17 additions & 3 deletions
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)