Skip to content

Rustc pull update #2503

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

Open
wants to merge 45 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
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
af35951
Merge from rust-lang/rust
lnicola Jun 30, 2025
c7a148f
Merge pull request #20128 from lnicola/sync-from-rust
lnicola Jun 30, 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
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
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
c1b294e
Prepare for merging from rust-lang/rust
invalid-email-address Jul 11, 2025
bd06d9b
Merge ref '855e0fe46e68' from rust-lang/rust
invalid-email-address Jul 11, 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
855e0fe46e68d94e9f6147531b75ac2d488c548e
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