Commit Graph

11077 Commits

Author SHA1 Message Date
Jakub Beránek 21e488c00a Rollup merge of #144676 - tiif:dev_guide_unstable_bound, r=BoxyUwU
Add documentation for unstable_feature_bound

There is more detail and explanation in https://hackmd.io/``````@tiif/Byd3mq7Ige``````

Original PR that implemented this: rust-lang/rust#140399

r? ``````@BoxyUwU`````` to nominate for types team discussion
2025-08-06 15:55:43 +02:00
Samuel Tardieu 518e367f9e Rollup merge of #144905 - tshepang:rdg-sync, r=jieyouxu
rustc-dev-guide subtree update

Subtree update of `rustc-dev-guide` to https://github.com/rust-lang/rustc-dev-guide/commit/1263fc23672325c1d2e3d6bba8a7dd89e986245c.

Created using https://github.com/rust-lang/josh-sync.

r? ``@ghost``
2025-08-05 03:51:41 +02:00
Jakub Beránek 450040f2d3 Implement debugging output of the bootstrap Step graph into a DOT file 2025-08-04 08:29:18 +02:00
The rustc-josh-sync Cronjob Bot 682a6e17e4 Merge ref '383b9c447b61' from rust-lang/rust
Pull recent changes from https://github.com/rust-lang/rust via Josh.

Upstream ref: 383b9c447b
Filtered ref: 14b7b0bbd1e38402fca29ef84e5f75ee9d8cb1a9

This merge was created using https://github.com/rust-lang/josh-sync.
2025-08-04 04:25:09 +00:00
The rustc-josh-sync Cronjob Bot b8d1af5e56 Prepare for merging from rust-lang/rust
This updates the rust-version file to 383b9c447b.
2025-08-04 04:24:59 +00:00
Stuart Cook 79e7e0359e Rollup merge of #144811 - jieyouxu:target-maintainer-docs, r=Noratrieb
Stylize `*-lynxos178-*` target maintainer handle to make it easier to copy/paste

Apparently I forgot to submit this branch I had lying around.

Noticed while reviewing Tier 3 target platform support pages. In the same style as rust-lang/rust#139028.
2025-08-04 11:24:41 +10:00
Samuel Tardieu 3823f0bc07 Rollup merge of #144738 - bjorn3:remove_omit_gdb_pretty_printer_section, r=jieyouxu
Remove the omit_gdb_pretty_printer_section attribute

Disabling loading of pretty printers in the debugger itself is more reliable. Before this commit the .gdb_debug_scripts section couldn't be included in dylibs or rlibs as otherwise there is no way to disable the section anymore without recompiling the entire standard library.
2025-08-03 21:56:56 +02:00
Tshepang Mbambo f84c62112a there is still no official policy 2025-08-03 07:18:26 +02:00
Tshepang Mbambo 3bba46bb52 Merge pull request #2509 from rust-lang/tshepang-auto-toc
make toc generation fully automatic
2025-08-03 06:55:44 +02:00
Kivooeo 5ebb0dd7da update doc 2025-08-02 19:01:07 +05:00
Jieyou Xu fe7730f648 Stylize *-lynxos178-* target maintainer handle to make it easier to copy/paste 2025-08-02 15:24:44 +08:00
Tshepang Mbambo 171c2478c0 Merge pull request #2526 from rust-lang/rustc-pull
Rustc pull update
2025-08-02 00:40:01 +02:00
bjorn3 ae2f8d9216 Remove the omit_gdb_pretty_printer_section attribute
Disabling loading of pretty printers in the debugger itself is more
reliable. Before this commit the .gdb_debug_scripts section couldn't be
included in dylibs or rlibs as otherwise there is no way to disable the
section anymore without recompiling the entire standard library.
2025-08-01 20:04:59 +00:00
lcnr 219e4c141d Merge pull request #2530 from lcnr/type-system-invariants
fix link
2025-08-01 15:50:18 +02:00
lcnr ba57bbadc9 rarw 2025-08-01 15:49:36 +02:00
lcnr c277f4e64d Merge pull request #2529 from lcnr/type-system-invariants
add a chapter documenting candidate preference
2025-08-01 15:27:32 +02:00
lcnr 4f60c9097a rarw 2025-08-01 15:25:50 +02:00
lolbinarycat cab16432fb improve linking in the "Auxilirary builds" section of directive index 2025-07-31 13:33:51 -05:00
The rustc-josh-sync Cronjob Bot 7cab27d73a Merge ref '32e7a4b92b10' from rust-lang/rust
Pull recent changes from https://github.com/rust-lang/rust via Josh.

Upstream ref: 32e7a4b92b
Filtered ref: d39f3479bfafb04026ed3afec68aa671d13e9c3c

This merge was created using https://github.com/rust-lang/josh-sync.
2025-07-31 04:17:04 +00:00
The rustc-josh-sync Cronjob Bot 7d378192a7 Prepare for merging from rust-lang/rust
This updates the rust-version file to 32e7a4b92b.
2025-07-31 04:16:57 +00:00
Samuel Tardieu b38ece9021 Rollup merge of #143465 - kornelski:extern-name, r=petrochenkov
Support multiple crate versions in --extern-html-root-url

Rustdoc's `--extern-html-root-url` used to use `tcx.crate_name()` to identify crates, but that used crates' internal names from their metadata, instead of names given to them in `--extern`. That was confusing, because both `--extern…` arguments seem related and use similar syntax. Crucially, this didn't work correctly with Cargo's package aliases or multiple versions of crates.

`sess.opts.externs` lacks `CrateNum`, and `Resolver.extern_prelude` gets destroyed before `rustdoc` has a chance to see it, so I've had to save this mapping in `CStore`.

Just in case, I've kept the previous mapping by crate name as a fallback for crates that weren't matched by their extern name.

Fixes rust-lang/rust#76296
2025-07-30 19:49:01 +02:00
tiif 712c28e832 Remove space
Co-authored-by: Tshepang Mbambo <hopsi@tuta.io>
2025-07-30 11:54:32 +02:00
tiif ec40ee4c4e Add documentation for unstable_feature_bound 2025-07-30 09:30:10 +00:00
Jakub Beránek 951a6f792d Remove outdated ci.py reference 2025-07-30 08:11:01 +02:00
Daniel Paoliello cffde732ce Verify llvm-needs-components are not empty and match the --target value 2025-07-29 11:20:23 -07:00
Jakub Beránek 6a40a17051 Use main branch of josh-sync for CI workflow 2025-07-29 10:02:50 +02:00
Jakub Beránek 7e4ded4169 Remove bot-pull-requests triagebot config 2025-07-29 09:53:04 +02:00
Jakub Beránek ede338cd8f WIP: auth using GitHub app 2025-07-29 09:35:50 +02:00
Kornel 276c4238a7 Support multiple crate versions in --extern-html-root-url 2025-07-28 13:34:03 +01:00
Tshepang Mbambo 65589ad33f remove the markers 2025-07-28 11:45:21 +02:00
Tshepang Mbambo 3e6f950d66 avoid the need to specify if toc should be generated
- this removes one external dependency, mdbook-toc
- this steals code from rustc book
2025-07-28 09:26:08 +02:00
Tshepang Mbambo b707493721 reword to avoid using a term used in a confusing manner, "error annotations" 2025-07-28 09:09:41 +02:00
Tshepang Mbambo 66445e7975 fix pauses 2025-07-28 08:57:48 +02:00
The rustc-josh-sync Cronjob Bot 645b85e3d5 Merge ref '2b5e239c6b86' from rust-lang/rust
Pull recent changes from https://github.com/rust-lang/rust via Josh.

Upstream ref: 2b5e239c6b
Filtered ref: dde2393b3444ae8595633863f4395f526b1b7932

This merge was created using https://github.com/rust-lang/josh-sync.
2025-07-28 04:18:40 +00:00
The rustc-josh-sync Cronjob Bot 8d82365a64 Prepare for merging from rust-lang/rust
This updates the rust-version file to 2b5e239c6b.
2025-07-28 04:18:33 +00:00
Matthias Krüger e2a5862d22 Rollup merge of #144435 - tshepang:rdg-sync, r=jieyouxu
rustc-dev-guide subtree update

Subtree update of `rustc-dev-guide` to https://github.com/rust-lang/rustc-dev-guide/commit/4e310882ba9eaa71a192870837e949854057b3b0.

Created using https://github.com/rust-lang/josh-sync.

r? ```@ghost```
2025-07-26 15:28:02 +02:00
Travis Cross 64604ad1da Revise content on lang feature processes
Let's revise both the new content in this PR as well as the remaining
text in the relevant chapters so as to better describe our current
processes related to language features and their stabilizations.

For the new stabilization report template, based on reviewing its
early use and well as reviewing earlier stabilization reports, we've
revised it editorially and added questions designed to capture
additional details to which we commonly want people to speak.
2025-07-25 22:28:10 +00:00
Jieyou Xu 7547b15acb Address review feedback
- Address Call for Testing review feedback
- Address Affiliated work review feedback
- Drop "stabilization is easy" part
- Fix broken feature gate examples
- Elaborate on stabilization report summarization aspects
- Recommend waiting a bit for team nominations
- Make Stabilization Template markdown copy friendly
- Register stabilization report template
- Drop unfinished sentence
- Clarify stabilization report template is for language features
- Add test coverage elaboration
- Add UB checks / opt question
- Amend test coverage explanation
- Mention OSS nightly users
2025-07-25 22:28:10 +00:00
Niko Matsakis 857f46eb39 Address review feedback
Co-authored-by: lcnr <rust@lcnr.de>
Co-authored-by: Ralf Jung <post@ralfj.de>
Co-authored-by: waffle <waffle.lapkin@gmail.com>
2025-07-25 22:28:10 +00:00
Niko Matsakis e497abcfc2 Add stabilization template and revise docs 2025-07-25 22:28:10 +00:00
Tshepang Mbambo e69303f372 Merge pull request #2518 from rust-lang/rustc-pull
Rustc pull update
2025-07-25 05:36:15 +02:00
Oneirical 94c0cf891e Rename tests/ui/SUMMARY.md and update rustc dev guide on error-pattern 2025-07-24 17:09:42 -04:00
The rustc-josh-sync Cronjob Bot e5b1e7d192 Merge ref 'efd420c770bb' from rust-lang/rust
Pull recent changes from https://github.com/rust-lang/rust via Josh.

Upstream ref: efd420c770
Filtered ref: d11dbbb02905535a89393e80c24274bee81fa928

This merge was created using https://github.com/rust-lang/josh-sync.
2025-07-24 04:15:39 +00:00
The rustc-josh-sync Cronjob Bot 1115345184 Prepare for merging from rust-lang/rust
This updates the rust-version file to efd420c770.
2025-07-24 04:15:31 +00:00
Jakub Beránek 6c96e7a550 Update josh sync documentation
Now all our Josh subtrees should be using josh-sync.
2025-07-23 09:42:33 +02:00
Guillaume Gomez a27f3e3fd1 Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00
Guillaume Gomez ed93c1783b Rename tests/assembly into tests/assembly-llvm 2025-07-22 14:27:48 +02:00
许杰友 Jieyou Xu (Joe) 43fa3f555e Rollup merge of #144251 - tshepang:rdg-sync, r=jieyouxu
rustc-dev-guide subtree update

Subtree update of `rustc-dev-guide` to https://github.com/rust-lang/rustc-dev-guide/commit/cca233729f03d0c59456cd3e866f92681faf4c54.

Created using https://github.com/rust-lang/josh-sync.

r? ```@ghost```
2025-07-22 00:54:32 +08:00
许杰友 Jieyou Xu (Joe) 5e3eb25125 Rollup merge of #142097 - ZuseZ4:offload-host1, r=oli-obk
gpu offload host code generation

r? ghost

This will generate most of the host side code to use llvm's offload feature.
The first PR will only handle automatic mem-transfers to and from the device.
So if a user calls a kernel, we will copy inputs back and forth, but we won't do the actual kernel launch.
Before merging, we will use LLVM's Info infrastructure to verify that the memcopies match what openmp offloa generates in C++. `LIBOMPTARGET_INFO=-1 ./my_rust_binary` should print that a memcpy to and later from the device is happening.

A follow-up PR will generate the actual device-side kernel which will then do computations on the GPU.
A third PR will implement manual host2device and device2host functionality, but the goal is to minimize cases where a user has to overwrite our default handling due to performance issues.

I'm trying to get a full MVP out first, so this just recognizes GPU functions based on magic names. The final frontend will obviously move this over to use proper macros, like I'm already doing it for the autodiff work.
This work will also be compatible with std::autodiff, so one can differentiate GPU kernels.

Tracking:
- https://github.com/rust-lang/rust/issues/131513
2025-07-22 00:54:24 +08:00
Tshepang Mbambo 9ae298c875 typo 2025-07-21 13:55:55 +02:00