Skip to content

Rustc pull update #2508

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 140 commits into from
Jul 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
140 commits
Select commit Hold shift + click to select a range
f72760c
Merge from rustc
May 10, 2025
cb9f42e
Merge pull request #4318 from rust-lang/rustup-2025-05-10
oli-obk May 10, 2025
8f81724
Merge from rustc
May 12, 2025
583f222
Merge pull request #4319 from rust-lang/rustup-2025-05-12
RalfJung May 12, 2025
4b10ad7
Merge from rustc
RalfJung May 17, 2025
f47aeb9
Merge pull request #4324 from RalfJung/rustup
RalfJung May 17, 2025
b5e1845
Merge pull request #4322 from tiif/move_test
RalfJung May 18, 2025
c2cfbbb
Merge from rustc
May 19, 2025
2ed638f
Merge pull request #4331 from rust-lang/rustup-2025-05-19
RalfJung May 19, 2025
5958ee5
Merge from rustc
May 21, 2025
4f17fee
Merge pull request #4336 from rust-lang/rustup-2025-05-21
RalfJung May 21, 2025
cf31435
Merge pull request #4337 from RalfJung/io
RalfJung May 21, 2025
16a0a0b
Merge pull request #4338 from RalfJung/FileDescription
RalfJung May 21, 2025
0c6d814
Merge from rustc
RalfJung May 29, 2025
0a40077
Merge pull request #4355 from RalfJung/rustup
RalfJung May 29, 2025
c070440
Merge pull request #4314 from yoctocell/fine-grained-tracking
RalfJung May 30, 2025
2e63e00
Merge from rustc
Jun 3, 2025
828d56b
Merge pull request #4373 from rust-lang/rustup-2025-06-03
RalfJung Jun 3, 2025
e8b6869
Merge pull request #4372 from nia-e/multiple-native-libs
oli-obk Jun 4, 2025
1aa5a9e
Merge from rustc
Jun 6, 2025
63bd815
Merge pull request #4380 from rust-lang/rustup-2025-06-06
oli-obk Jun 6, 2025
c0f51a5
Merge pull request #4378 from RalfJung/flock
RalfJung Jun 6, 2025
9891edb
Merge pull request #4376 from yoctocell/tb-interior-mut-flag
RalfJung Jun 9, 2025
4109f41
Merge from rustc
Jun 10, 2025
c938b32
Merge pull request #4393 from rust-lang/rustup-2025-06-10
RalfJung Jun 10, 2025
35c9d8f
Merge pull request #4394 from RalfJung/smallvec
RalfJung Jun 10, 2025
cbf48a6
Merge pull request #4382 from RalfJung/dup
RalfJung Jun 10, 2025
388abed
Merge pull request #4389 from RalfJung/native-lib-search-order
RalfJung Jun 10, 2025
3cda624
Merge pull request #4384 from RalfJung/diag-no-repeat
oli-obk Jun 11, 2025
bd9ba0b
Merge pull request #4383 from LorrensP-2158466/remove-leaky-syncobj
RalfJung Jun 11, 2025
b3f6c71
Merge from rustc
Jun 14, 2025
a8bac00
Merge pull request #4398 from rust-lang/rustup-2025-06-14
RalfJung Jun 14, 2025
1c69440
Merge from rustc
RalfJung Jun 15, 2025
616cb6e
Merge pull request #4400 from RalfJung/rustup
RalfJung Jun 15, 2025
6c754e2
Merge from rustc
Jun 19, 2025
904763a
Merge pull request #4407 from rust-lang/rustup-2025-06-19
RalfJung Jun 19, 2025
53b06ca
Merge pull request #4396 from Stypox/build-with-features
RalfJung Jun 19, 2025
7bccb3e
Merge pull request #4362 from nia-e/fix-alloc-perf
RalfJung Jun 20, 2025
0398281
Merge from rustc
Jun 20, 2025
8e593ce
Merge pull request #4409 from rust-lang/rustup-2025-06-20
RalfJung Jun 20, 2025
de2d948
Merge from rust-lang/rust
lnicola Jun 23, 2025
cf264f4
Merge pull request #20063 from lnicola/sync-from-rust
lnicola Jun 23, 2025
bc1dcc1
Merge pull request #20069 from Veykril/push-mnqkqxomtlxn
Veykril Jun 23, 2025
1365031
Merge pull request #20076 from ChayimFriedman2/faq
lnicola Jun 23, 2025
93c4f33
Merge pull request #20072 from Veykril/push-sorvvvzskywv
Veykril Jun 24, 2025
2f428c2
Merge pull request #20062 from ChayimFriedman2/doctests
Veykril Jun 24, 2025
3f83f5e
Merge pull request #20036 from Veykril/push-yquvoyrxkksx
Veykril Jun 24, 2025
8e0dfd7
Merge pull request #20064 from Wilfred/document_sysroot_project
Veykril Jun 24, 2025
ba0331c
Merge pull request #20061 from ChayimFriedman2/wrap-ret-ty
Veykril Jun 24, 2025
93079a5
Merge pull request #20012 from lnicola/bump-literal-escaper
Veykril Jun 24, 2025
076c05f
Merge pull request #20077 from markpots5/master
Veykril Jun 25, 2025
207cb17
Merge pull request #4408 from Patrick-6/rework-thread-join
RalfJung Jun 26, 2025
95712b9
Merge from rustc
Jun 28, 2025
3e70f1e
Merge pull request #4417 from rust-lang/rustup-2025-06-28
RalfJung Jun 28, 2025
a3e5d73
Merge pull request #4415 from YohDeadfall/sync-ra-configs
RalfJung Jun 28, 2025
af35951
Merge from rust-lang/rust
lnicola Jun 30, 2025
c7a148f
Merge pull request #20128 from lnicola/sync-from-rust
lnicola Jun 30, 2025
c725e48
Merge from rustc
Jul 1, 2025
89c1b3a
Merge pull request #4431 from rust-lang/rustup-2025-07-01
RalfJung Jul 1, 2025
883ffc8
Merge pull request #4432 from RalfJung/no-metadata
RalfJung Jul 1, 2025
1372f20
Merge pull request #4433 from RalfJung/ci-balance
RalfJung Jul 1, 2025
472e58f
Merge pull request #4411 from LorrensP-2158466/remove-leaky-syncobj
RalfJung Jul 1, 2025
10d7cfe
Merge pull request #4406 from Stypox/tracing
RalfJung Jul 2, 2025
c489307
Merge pull request #20156 from Veykril/push-knkzxuxkzoyx
Veykril Jul 3, 2025
9f3aec0
Merge pull request #20112 from Veykril/push-ruszuxrqzmvz
Veykril Jul 3, 2025
5203cd9
Merge pull request #20120 from Hmikihiro/match_bind_not_type
ChayimFriedman2 Jul 3, 2025
f9d850d
Merge from rustc
Jul 4, 2025
ed458f5
Merge pull request #4442 from rust-lang/rustup-2025-07-04
oli-obk Jul 4, 2025
3c43c43
Auto merge of #143237 - JonathanBrouwer:no_implicit_prelude_parser, r…
bors Jul 4, 2025
c6bf9e4
Merge pull request #20031 from jnyfah/some-branch
Veykril Jul 4, 2025
3d3d2db
Auto merge of #143247 - cjgillot:metadata-no-red, r=petrochenkov
bors Jul 4, 2025
2c4caf9
Rollup merge of #140643 - makai410:smir-refactor-migrate, r=oli-obk,c…
matthiaskrgr Jul 4, 2025
e8c85d5
Rollup merge of #143286 - Muscraft:track-diagnostics-note, r=WaffleLa…
matthiaskrgr Jul 4, 2025
744cd95
Rollup merge of #143308 - compiler-errors:no-pointer-like, r=oli-obk
matthiaskrgr Jul 4, 2025
9e6a970
Rollup merge of #143387 - dpaoliello:shouldpanicfn, r=bjorn3
matthiaskrgr Jul 4, 2025
2b542b4
Rollup merge of #143400 - GrigorenkoPV:attributes/lints, r=jdonszelmann
matthiaskrgr Jul 4, 2025
7588dd9
Rollup merge of #143420 - Kobzol:rdg-push, r=jieyouxu
matthiaskrgr Jul 4, 2025
cdc494f
Auto merge of #143434 - matthiaskrgr:rollup-eyr4rcb, r=matthiaskrgr
bors Jul 4, 2025
ca7c9ac
Auto merge of #114669 - cjgillot:metadata-wp, r=petrochenkov
bors Jul 4, 2025
fceb3a1
Auto merge of #138759 - scottmcm:operand-builder, r=saethlin
bors Jul 5, 2025
1af7cc0
Merge from rustc
RalfJung Jul 5, 2025
538c58f
Merge pull request #4445 from RalfJung/rustup
RalfJung Jul 5, 2025
2025ef1
Merge pull request #4444 from devnexen/filemetadata_upd
RalfJung Jul 5, 2025
5d5ade7
Auto merge of #143474 - jieyouxu:bootstrap-llvm-snapshot, r=Kobzol
bors Jul 5, 2025
2b0ca96
Auto merge of #143126 - dianqk:update-llvm, r=nikic
bors Jul 6, 2025
2e31b25
Auto merge of #143354 - Shourya742:2025-07-03-bye-bye-as_mut-command,…
bors Jul 6, 2025
7240d45
Merge pull request #20132 from A4-Tacks/asmut-borrow-minicore
Veykril Jul 6, 2025
1ea0aaa
Auto merge of #141829 - dvdsk:sleep_until_linux, r=cuviper,RalfJung
bors Jul 6, 2025
bc338ef
Auto merge of #143565 - lnicola:sync-from-ra, r=lnicola
bors Jul 7, 2025
4976bd9
Auto merge of #143035 - ywxt:less-work-steal, r=oli-obk
bors Jul 7, 2025
64f4124
Auto merge of #142869 - nnethercote:join_path-mini, r=camelid
bors Jul 8, 2025
b92cdb5
Auto merge of #142707 - ashivaram23:drop_wildcard, r=dianqk
bors Jul 9, 2025
ffa4063
Auto merge of #143405 - tgross35:update-builtins, r=tgross35
bors Jul 9, 2025
e394ebe
update rust-dev-guide to point about new command execution summary re…
Shourya742 Jul 10, 2025
6c9ffc7
Auto merge of #143525 - Shourya742:2025-07-06-add-profiler, r=Kobzol
bors Jul 10, 2025
1f3bdad
Rollup merge of #143446 - usamoi:export-executable-symbols, r=bjorn3,…
matthiaskrgr Jul 10, 2025
a0d0875
Auto merge of #143746 - matthiaskrgr:rollup-yaojj7t, r=matthiaskrgr
bors Jul 10, 2025
044ef68
Auto merge of #142911 - mejrs:unsized, r=compiler-errors
bors Jul 11, 2025
384787c
Auto merge of #143624 - tmiasko:copy-prop-borrowed, r=cjgillot
bors Jul 12, 2025
e58ca19
Auto merge of #140717 - mejrs:diagnostic_lints, r=oli-obk
bors Jul 13, 2025
8042587
Auto merge of #143213 - dianne:lower-cond-tweaks, r=cjgillot
bors Jul 13, 2025
474768d
Auto merge of #143617 - aDotInTheVoid:devdesktoptestattr, r=Mark-Simu…
bors Jul 13, 2025
557ffa1
Compiletest: Simplify {Html,Json}DocCk directive handling
fmease Jul 12, 2025
c2691a2
Auto merge of #143461 - folkertdev:cfg-select-builtin-macro, r=petroc…
bors Jul 13, 2025
e3d9081
Merge from rustc
Jul 14, 2025
cb50e4d
Merge pull request #4467 from rust-lang/rustup-2025-07-14
RalfJung Jul 14, 2025
161c385
Rollup merge of #143681 - RalfJung:bootstrap-miri-rebuilds, r=Kobzol
Kobzol Jul 14, 2025
7323414
Rollup merge of #143724 - hkBst:tidy-cleanup, r=Mark-Simulacrum
Kobzol Jul 14, 2025
76cb0f9
Rollup merge of #143850 - fmease:comptest-simp-docck-handling, r=jiey…
Kobzol Jul 14, 2025
f746e34
Rollup merge of #143875 - fee1-dead-contrib:push-zvqrmzrprpzt, r=comp…
Kobzol Jul 14, 2025
ad0ba5a
Rollup merge of #143881 - orlp:once-state-repr, r=tgross35
Kobzol Jul 14, 2025
9739a83
Rollup merge of #143887 - Kobzol:reroder-bootstrap-tests, r=jieyouxu
Kobzol Jul 14, 2025
ccff282
Rollup merge of #143917 - theemathas:change-allocated-object-to-alloc…
Kobzol Jul 14, 2025
0661748
Rollup merge of #143918 - hkBst:tier-check-cleanup, r=Kobzol
Kobzol Jul 14, 2025
aea8eda
Auto merge of #143919 - Kobzol:rollup-acyaygs, r=Kobzol
bors Jul 14, 2025
2b862a0
Remove mentions of `./x suggest` and `suggest-tests` in rustc-dev-guide
jieyouxu Jul 8, 2025
ba90bed
Auto merge of #143745 - flip1995:clippy-subtree-update, r=Manishearth
bors Jul 14, 2025
c786ff0
Auto merge of #142885 - a1phyr:borrowed_cursor_to_buf, r=Mark-Simulacrum
bors Jul 14, 2025
512962f
Merge from rustc
Jul 15, 2025
64fcb59
Merge pull request #4468 from rust-lang/rustup-2025-07-15
RalfJung Jul 15, 2025
d53301b
Rollup merge of #143630 - jieyouxu:drop-suggest, r=Mark-Simulacrum
samueltardieu Jul 15, 2025
66eeb55
Rollup merge of #143736 - oli-obk:uninspectable-type-id, r=RalfJung
samueltardieu Jul 15, 2025
9488488
Rollup merge of #143752 - pmur:murp/no-panic-detect-wasi-cc, r=Kobzol
samueltardieu Jul 15, 2025
fc88ef5
Rollup merge of #143837 - jieyouxu:symbol-apis, r=ChrisDenton
samueltardieu Jul 15, 2025
0320931
Rollup merge of #143878 - JonathanBrouwer:pointee_parser, r=jdonszelmann
samueltardieu Jul 15, 2025
f032a14
Rollup merge of #143905 - xizheyin:143828, r=compiler-errors
samueltardieu Jul 15, 2025
47b57b0
Rollup merge of #143907 - Kijewski:pr-inline-split_at_unchecked, r=Ma…
samueltardieu Jul 15, 2025
1fecf5e
Rollup merge of #143910 - ChrisDenton:no-symbolization, r=tgross35
samueltardieu Jul 15, 2025
c68cb83
Rollup merge of #143927 - oli-obk:const-dyn-trait-hir-ty, r=fmease
samueltardieu Jul 15, 2025
e39b80d
Rollup merge of #143935 - ada4a:walk-docstring, r=compiler-errors
samueltardieu Jul 15, 2025
e250e76
Rollup merge of #143938 - rustbot:docs-update, r=ehuss
samueltardieu Jul 15, 2025
20c245b
Rollup merge of #143941 - folkertdev:cfg-select-docs, r=traviscross
samueltardieu Jul 15, 2025
42a3530
Auto merge of #143958 - samueltardieu:rollup-lh1s143, r=samueltardieu
bors Jul 15, 2025
e46288c
Merge pull request #4452 from Stypox/trace-borrow-tracker
RalfJung Jul 15, 2025
23d5b95
Merge pull request #4469 from Patrick-6/add-spinloop-hints
RalfJung Jul 15, 2025
d3c1998
Auto merge of #143877 - xizheyin:143813, r=scottmcm,saethlin
bors Jul 15, 2025
ebea619
Merge pull request #4456 from nia-e/trace-incorporate-events
RalfJung Jul 16, 2025
1ea8d5f
Auto merge of #144019 - RalfJung:miri-sync, r=RalfJung
bors Jul 16, 2025
2ed5381
Prepare for merging from rust-lang/rust
invalid-email-address Jul 17, 2025
1e37c10
Merge ref 'fd2eb391d032' from rust-lang/rust
invalid-email-address Jul 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rust-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
c96a69059ecc618b519da385a6ccd03155aa0237
fd2eb391d032181459773f3498c17b198513e0d0
1 change: 0 additions & 1 deletion src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
- [Cranelift codegen backend](./tests/codegen-backend-tests/cg_clif.md)
- [GCC codegen backend](./tests/codegen-backend-tests/cg_gcc.md)
- [Performance testing](./tests/perf.md)
- [Suggest tests tool](./tests/suggest-tests.md)
- [Misc info](./tests/misc.md)
- [Debugging the compiler](./compiler-debugging.md)
- [Using the tracing/logging instrumentation](./tracing.md)
Expand Down
11 changes: 9 additions & 2 deletions src/building/bootstrapping/debugging-bootstrap.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,17 @@ For `#[instrument]`, it's recommended to:

### Profiling bootstrap

You can use the `COMMAND` tracing target to trace execution of most commands spawned by bootstrap. If you also use the `BOOTSTRAP_PROFILE=1` environment variable, bootstrap will generate a Chrome JSON trace file, which can be visualized in Chrome's `chrome://tracing` page or on https://ui.perfetto.dev.
You can set the `BOOTSTRAP_PROFILE=1` environment variable to enable command execution profiling during bootstrap. This generates:

* A Chrome trace file (for visualization in `chrome://tracing` or [Perfetto](https://ui.perfetto.dev)) if tracing is enabled via `BOOTSTRAP_TRACING=COMMAND=trace`
* A plain-text summary file, `bootstrap-profile-{pid}.txt`, listing all commands sorted by execution time (slowest first), along with cache hits and working directories

Note: the `.txt` report is always generated when `BOOTSTRAP_PROFILE=1` is set — tracing is not required.

Example usage:

```bash
$ BOOTSTRAP_TRACING=COMMAND=trace BOOTSTRAP_PROFILE=1 ./x build library
$ BOOTSTRAP_PROFILE=1 BOOTSTRAP_TRACING=COMMAND=trace ./x build library
```

### rust-analyzer integration?
Expand Down
3 changes: 0 additions & 3 deletions src/building/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ and check the output.
Use `--bless` if you've made a change and want to update the `.stderr` files
with the new output.

> `./x suggest` can also be helpful for suggesting which tests to run after a
> change.
Congrats, you are now ready to make a change to the compiler! If you have more
questions, [the full chapter](./how-to-build-and-run.md) might contain the
answers, and if it doesn't, feel free to ask for help on
Expand Down
17 changes: 0 additions & 17 deletions src/building/suggested.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,23 +270,6 @@ run the tests at some later time. You can then use `git bisect` to track down
is that you are left with a fairly fine-grained set of commits at the end, all
of which build and pass tests. This often helps reviewing.

## `x suggest`

The `x suggest` subcommand suggests (and runs) a subset of the extensive
`rust-lang/rust` tests based on files you have changed. This is especially
useful for new contributors who have not mastered the arcane `x` flags yet and
more experienced contributors as a shorthand for reducing mental effort. In all
cases it is useful not to run the full tests (which can take on the order of
tens of minutes) and just run a subset which are relevant to your changes. For
example, running `tidy` and `linkchecker` is useful when editing Markdown files,
whereas UI tests are much less likely to be helpful. While `x suggest` is a
useful tool, it does not guarantee perfect coverage (just as PR CI isn't a
substitute for bors). See the [dedicated chapter](../tests/suggest-tests.md) for
more information and contribution instructions.

Please note that `x suggest` is in a beta state currently and the tests that it
will suggest are limited.

## Configuring `rustup` to use nightly

Some parts of the bootstrap process uses pinned, nightly versions of tools like
Expand Down
3 changes: 3 additions & 0 deletions src/rustdoc-internals/rustdoc-test-suite.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ Similar to shell commands,
directives can extend across multiple lines if their last char is `\`.
In this case, the start of the next line should be `//`, with no `@`.

Similar to compiletest directives, besides a space you can also use a colon `:` to separate
the directive name and the arguments, however a space is preferred for HtmlDocCk directives.

Use the special string `{{channel}}` in XPaths, `PATTERN` arguments and [snapshot files](#snapshot)
if you'd like to refer to the URL `https://doc.rust-lang.org/CHANNEL` where `CHANNEL` refers to the
current release channel (e.g, `stable` or `nightly`).
Expand Down
59 changes: 0 additions & 59 deletions src/tests/suggest-tests.md

This file was deleted.