Boxy
328563d231
Merge pull request #2414 from smanilov/patch-15
...
Link normalization chapter
2025-05-26 13:44:34 +01:00
Stan Manilov
a863290b9a
Link normalization chapter
2025-05-26 15:39:25 +03:00
León Orell Valerian Liehr
ceae66b762
Merge pull request #2413 from fmease/glacier-no-crashes-tests-yes
...
Flesh out sections about crashes tests and update mentions of glacier
2025-05-26 13:55:14 +02:00
León Orell Valerian Liehr
290bacb73e
Flesh out sections about crashes tests and update mentions of glacier
2025-05-26 13:54:49 +02:00
许杰友 Jieyou Xu (Joe)
476328a113
Merge pull request #2357 from mejrs/diag
...
Update `rustc_on_unimplemented` docs
2025-05-25 01:18:36 +08:00
mejrs
0ca84c1313
Update `rustc_on_unimplemented` docs
2025-05-24 19:16:01 +02:00
Jakub Beránek
cc3f2ebd73
Merge pull request #2405 from Kobzol/remove-mentions-of-rust-lang-ci
...
Remove mentions of rust-lang-ci/rust
2025-05-24 14:14:56 +02:00
Tshepang Mbambo
b2e388e6cb
Merge pull request #2410 from rust-lang/tshepang-patch-1
...
typo
2025-05-24 01:42:06 +02:00
Tshepang Mbambo
f640f46968
typo
2025-05-24 01:38:43 +02:00
许杰友 Jieyou Xu (Joe)
c9202f4197
Merge pull request #2408 from chenyukang/yukang-add-llvm-link
2025-05-24 02:39:10 +08:00
yukang
c6f2047a55
Add LLVM link in appendix
2025-05-24 02:30:23 +08:00
nora
525b120d4e
Merge pull request #2404 from lolbinarycat/patch-1
...
rustdoc.md: reorder list so test suites are not split up
2025-05-23 18:56:05 +02:00
Guillaume Gomez
2254f3c63d
Merge pull request #2406 from jyn514/rustdoc-bodies
...
document why rustdoc cannot look at function bodies
2025-05-23 17:07:54 +02:00
jyn
b9f639a01a
document why rustdoc cannot look at function bodies
2025-05-23 10:53:36 -04:00
许杰友 Jieyou Xu (Joe)
8392ed6950
Merge pull request #2403 from rust-lang/tshepang-patch-1
2025-05-23 19:42:58 +08:00
Jakub Beránek
316e392131
Remove mentions of rust-lang-ci/rust
...
Now that CI has been finally migrated to `rust-lang/rust`.
2025-05-23 13:27:17 +02:00
lolbinarycat
677577571e
rustdoc.md: reorder list so test suites are not split up
2025-05-22 17:31:36 -05:00
Tshepang Mbambo
eeafdb1de6
~? annotation type is special
...
It does not do any line matching, so it should be separated from the other types.
2025-05-22 19:37:29 +02:00
Boxy
5d24aedfa5
Merge pull request #2400 from smanilov/patch-13
...
Make it clear we talk about early bound params
2025-05-20 16:36:21 +01:00
Boxy
c693842a05
Merge pull request #2398 from smanilov/patch-12
...
Update links between ty-module and binders
2025-05-20 16:18:22 +01:00
Stan Manilov
731daeed50
Make it clear we talk about early bound params
2025-05-20 16:25:11 +03:00
León Orell Valerian Liehr
e5b1e372e2
Merge pull request #2399 from steffahn/fix-tenv-link
...
Fix misdirected link for `TypingEnv`
2025-05-20 13:57:50 +02:00
Frank Steffahn
011f51231e
Fix misdirected link for `TypingEnv`
2025-05-20 13:26:22 +02:00
Stan Manilov
05a7dc42d4
Update links between ty-module and binders
...
The order might have been reversed at some point, leading to the two
chapters talking about each other in the wrong order.
2025-05-20 13:52:33 +03:00
nora
bcf2bab5dd
Merge pull request #2396 from smanilov/patch-11
...
Small typo and style fixes in binders.md
2025-05-20 11:10:30 +02:00
Stan Manilov
3a949427fd
Small typo and style fixes in binders.md
...
Normally I refrain from nit picking, but this seamed worth it.
2025-05-20 11:41:55 +03:00
Tshepang Mbambo
178cc75469
Merge pull request #2392 from rust-lang/rustc-pull
...
Rustc pull update
2025-05-20 04:37:19 +02:00
许杰友 Jieyou Xu (Joe)
126b4dd4bf
Merge pull request #2395 from smanilov/patch-10
2025-05-19 22:36:58 +08:00
Stan Manilov
6ec183f9bc
Update link to Forge guide on new flags
2025-05-19 17:32:29 +03:00
nora
25b50b3770
Merge pull request #2394 from smanilov/patch-9
...
Make run instructions first
2025-05-19 14:34:27 +02:00
nora
5a60a685ad
Merge pull request #2393 from smanilov/patch-8
...
Remove unused references and simplify one
2025-05-19 14:33:57 +02:00
Stan Manilov
007a7a109c
Make run instructions first
...
Better, because then one knows how to run the examples.
2025-05-19 14:44:36 +03:00
Stan Manilov
eae6f4ce66
Remove unused references and simplify one
2025-05-19 14:41:19 +03:00
nora
d4e4ad1ba9
Merge pull request #2389 from fuzzypixelz/typos
...
Fix typos in "Libraries and Metadata"
2025-05-19 12:39:24 +02:00
The rustc-dev-guide Cronjob Bot
360823ca60
Merge from rustc
2025-05-19 04:16:41 +00:00
The rustc-dev-guide Cronjob Bot
1962be7988
Preparing for merge from rustc
2025-05-19 04:10:52 +00:00
bors
ef2d6adbfc
Auto merge of #140154 - Berrysoft:cygwin-host, r=jieyouxu
...
Cygwin support in rustc
This PR builds host rustc targeting cygwin.
- [x] https://github.com/rust-lang/stacker/pull/122
- [x] https://github.com/nagisa/rust_libloading/pull/173
- [x] https://github.com/Detegr/rust-ctrlc/pull/131
- [x] https://github.com/rust-random/getrandom/pull/654
- [x] https://github.com/msys2/MSYS2-packages/issues/5350
- [x] https://github.com/rust-lang/rust/pull/140886
- [x] https://github.com/rust-lang/rust/pull/140921
- [x] https://github.com/rust-lang/rust/pull/140973
Currently supported:
* rustc
* rustdoc
* rustfmt
* clippy
Blocking:
* cargo: blocked by https://github.com/rust-lang/socket2/pull/568
* rust-analyzer: needs `cargo update`, fixed upstream
```
$ rustc --version --verbose
rustc 1.88.0-dev
binary: rustc
commit-hash: unknown
commit-date: unknown
host: x86_64-pc-cygwin
release: 1.88.0-dev
LLVM version: 20.1.4
```
2025-05-18 23:53:04 +00:00
bors
c2a9fb30f3
Auto merge of #127013 - tgross35:f16-format-parse, r=Mark-Simulacrum
...
Add `f16` formatting and parsing
Use the same algorithms as for `f32` and `f64` to implement `f16` parsing and printing.
try-job: x86_64-gnu-aux
2025-05-18 20:38:01 +00:00
León Orell Valerian Liehr
6f524a2f7e
Merge pull request #2391 from fmease/excl-iss-w-pr
...
Exclude issues with an associated PR from the "What should I work on" GH query
2025-05-18 20:05:13 +02:00
León Orell Valerian Liehr
4123a275be
Exclude issues with an associated PR from the "What should I work on" GH query
2025-05-18 20:01:47 +02:00
Mahmoud Mazouz
ef032e8c8d
Fix typos in "Libraries and Metadata"
2025-05-18 15:37:18 +02:00
bors
bf41ec2a81
Auto merge of #141216 - fmease:rollup-pa5mvx3, r=fmease
...
Rollup of 8 pull requests
Successful merges:
- #140113 (Add per page TOC in the `rustc` book)
- #140511 (Stabilize `#![feature(non_null_from_ref)]`)
- #140924 (Make some `f32`/`f64` tests also run in const-context)
- #140966 (Remove #![feature(let_chains)] from library and src/librustdoc)
- #141045 ([win][arm64] Remove 'Arm64 Hazard' undocumented MSVC option and instead disable problematic test)
- #141071 (Enable [behind-upstream] triagebot option for rust-lang/rust)
- #141132 (Use `crate::` prefix for root macro suggestions)
- #141139 (Fix Rust for Linux ping group label)
r? `@ghost`
`@rustbot` modify labels: rollup
2025-05-18 12:05:55 +00:00
León Orell Valerian Liehr
57af1ce1f0
Rollup merge of #141139 - jieyouxu:fix-rfl, r=Urgau
...
Fix Rust for Linux ping group label
Noticed in https://github.com/rust-lang/rust/pull/140966#issuecomment-2886704667 . Seems like a broken label can cause the triagebot ping message to not be issued.
See https://github.com/rust-lang/triagebot/issues/1992 .
```@rustbot``` label: +A-rust-for-linux
2025-05-18 11:03:48 +02:00
León Orell Valerian Liehr
7e9ba552d8
Rollup merge of #141071 - xizheyin:behind-upstream, r=Urgau
...
Enable [behind-upstream] triagebot option for rust-lang/rust
After testing in [rustc-develop-guide](https://github.com/rust-lang/rustc-dev-guide/pull/2384#issuecomment-2876631306 ), we can turn on `behind-upstream` here.
Doc: https://forge.rust-lang.org/triagebot/behind-upstream.html
r? ```@Urgau```
2025-05-18 11:03:46 +02:00
León Orell Valerian Liehr
33cb9ed899
Rollup merge of #141045 - dpaoliello:noarmhazard, r=jieyouxu
...
[win][arm64] Remove 'Arm64 Hazard' undocumented MSVC option and instead disable problematic test
PR #140758 added the undocumented `/arm64hazardfree` MSVC linker flag to work around a test failure where LLVM generated code that would trip a hazard in an outdated ARM processor.
Adding this flag caused issues with LLD, as it doesn't recognize it.
Rethinking the issue, using the undocumented flag seems like the incorrect solution: there's no guarantee that the flag won't be removed in the future, or change its meaning.
Instead, I've disabled the problematic test for Arm64 Windows and have filed a bug with the MSVC team to have the check removed: <https://developercommunity.microsoft.com/t/Remove-checking-for-and-fixing-Cortex-A/10905134 >
This PR supersedes #140977
r? ```@jieyouxu```
2025-05-18 11:03:46 +02:00
León Orell Valerian Liehr
d997cc2656
Rollup merge of #140966 - est31:let_chains_library, r=tgross35
...
Remove #![feature(let_chains)] from library and src/librustdoc
PR https://github.com/rust-lang/rust/pull/132833 has stabilized the `let_chains` feature. This PR removes the last occurences from the library, the compiler, and librustdoc (also because #140887 missed the conditional in one of the crates as it was behind the "rustc" feature).
We keep `core` as exercise for the future as updating it is non-trivial (see PR thread).
2025-05-18 11:03:45 +02:00
León Orell Valerian Liehr
f511a90ee3
Rollup merge of #140924 - Urgau:f32_f64_const_tests, r=Mark-Simulacrum
...
Make some `f32`/`f64` tests also run in const-context
2025-05-18 11:03:45 +02:00
León Orell Valerian Liehr
d9edc4c0ee
Rollup merge of #140511 - mathisbot:master, r=dtolnay
...
Stabilize `#![feature(non_null_from_ref)]`
This PR stabilizes the following:
```rust
impl<T: ?Sized> NonNull<T> {
pub const fn from_ref(reference: &T) -> NonNull<T>;
pub const fn from_mut(reference: &mut T) -> NonNull<T>;
}
```
The feature is tracked in [#130823 ](https://github.com/rust-lang/rust/issues/130823 ).
2025-05-18 11:03:44 +02:00
León Orell Valerian Liehr
7f26df9852
Rollup merge of #140113 - Urgau:rustc-book-page-toc, r=ehuss
...
Add per page TOC in the `rustc` book
This PR adds per page Table of Content (TOC) in the `rustc` book (to be extended in the future to our other books).
The goal is to easy the navigation inside the page by providing quick overview of the page content and our position inside that page.
That functionality is unfortunately not available natively in `mdbook`, which prompted community members to create [mdBook-pagetoc](https://github.com/JorelAli/mdBook-pagetoc/ ) (which this PR is heavily inspired by). It's "only" a JS file (to handle the TOC) and a CSS file (to handle the margin, colors, screen size, ...), there is no "post-processor" needed (in mdbook sense).

Live preview at: http://urgau.rf.gd/book
r? ```@jieyouxu```
2025-05-18 11:03:44 +02:00
bors
71605a271f
Auto merge of #141063 - dianqk:llvm-20.1.5, r=cuviper
...
Update to LLVM 20.1.5
`@rustbot` label A-LLVM T-compiler
2025-05-18 04:54:07 +00:00