Boxy
42888bb018
Write chapter on Unambig vs Ambig Types/Consts
2025-06-17 18:09:06 +01:00
Boxy
d96b2d4398
Stub chapter and consolidate under /hir/
2025-06-17 18:09:02 +01:00
Chris Bloodsworth
1dbf86a631
Remove hanging parenthesis from example signature.
...
Also replaced '→' symbol with '->' for consistency across the table.
2025-06-16 16:08:21 -04:00
Alice Ryhl
808d16c536
Use stage 1 for building docs
2025-06-16 17:03:33 +02:00
Tshepang Mbambo
21a1e51704
do not inline links
2025-06-14 22:56:10 +02:00
Tshepang Mbambo
820e88a7c6
title case
2025-06-14 22:49:46 +02:00
Tshepang Mbambo
0834e48a11
use sentence case
2025-06-14 22:44:47 +02:00
Tshepang Mbambo
a70deb6e75
content has moved to another chapter
2025-06-14 22:16:51 +02:00
Tshepang Mbambo
9265493052
Merge pull request #2465 from xizheyin/rustc-query
...
Adjust some doc for Query System
2025-06-14 21:39:25 +02:00
Tshepang Mbambo
94d56d18fd
Merge pull request #2441 from rust-lang/tshepang-remove-title-case
...
use consistent title capitalization
2025-06-14 19:52:41 +02:00
xizheyin
a4c8ef9f34
Adjust some doc for Query System
...
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
2025-06-13 22:51:25 +08:00
The rustc-dev-guide Cronjob Bot
6da0ebf087
Merge from rustc
2025-06-12 04:06:44 +00:00
The rustc-dev-guide Cronjob Bot
8a7fbded4d
Preparing for merge from rustc
2025-06-12 04:06:27 +00:00
Matthias Krüger
57bb38b836
Rollup merge of #142297 - jieyouxu:needs-target-std, r=Kobzol
...
Implement `//@ needs-target-std` compiletest directive
Closes rust-lang/rust#141863 .
Needed to unblock rust-lang/rust#139244 and rust-lang/rust#141856 .
### Summary
This PR implements a `//@ needs-target-std` compiletest directive that gates test execution based on whether the target supports std or not. For some cases, this should be preferred over e.g. some combination of `//@ ignore-none`, `//@ ignore-nvptx` and more[^none-limit].
### Implementation limitation
Unfortunately, since there is currently [no reliable way to determine from metadata whether a given target supports std or not](https://github.com/rust-lang/rust/issues/142296 ), we have to resort to a hack. Bootstrap currently determines whether or not a target supports std by a naive target tuple substring comparison: a target supports std if its target tuple does *not* contain one of `["-none", "nvptx", "switch"]` substrings. This PR simply pulls that hack out into `build_helpers` to avoid reimplementing the same hack in compiletest, and uses that logic to inform `//@ needs-target-std`.
### Auxiliary changes
This PR additionally changes a few run-make tests to use `//@ needs-target-std` over an inconsistent combination of target-based `ignore`s. This should help with rust-lang/rust#139244 .
---
r? bootstrap
[^none-limit]: Notably, `target_os = "none"` is **not** a sufficient condition for "target does not support std"
2025-06-11 13:48:11 +02:00
Tshepang Mbambo
dc41a1bd93
that was phrased like a separate sentence
2025-06-11 07:14:12 +02:00
lolbinarycat
c0978c497d
Using git § I changed a submodule by accident: be explicit
...
Rewriting git history is something that is often difficult for new contributors,
and we're already explaining the `<foo>` placeholder syntax,
so I think it makes sense to be explicit about what exactly the paths mean.
2025-06-10 12:48:05 -05:00
Jieyou Xu
c5b8123574
Document //@ needs-target-std in rustc-dev-guide
2025-06-10 22:17:57 +08:00
The rustc-dev-guide Cronjob Bot
7565e75591
Merge from rustc
2025-06-09 04:09:17 +00:00
The rustc-dev-guide Cronjob Bot
f598bbd66b
Preparing for merge from rustc
2025-06-09 04:08:59 +00:00
cyrgani
ec62afcf77
remove the archived ICE ping groups
2025-06-08 21:49:54 +02:00
León Orell Valerian Liehr
f6270d2d92
Fix typo
2025-06-07 18:58:41 +02:00
León Orell Valerian Liehr
f56cf01ca7
Merge pull request #2298 from fmease/rustdoc-testing-addendum
...
rustdoc: Further improve chapters and sections on testing
2025-06-07 18:36:45 +02:00
León Orell Valerian Liehr
d281b45773
rustdoc: Further improve chapters and sections on testing
2025-06-07 18:35:40 +02:00
Matthias Krüger
cfe78d99ae
Rollup merge of #141970 - onur-ozkan:skip-stage1-std, r=Kobzol
...
implement new `x` flag: `--skip-std-check-if-no-download-rustc`
One of our developers (``@RalfJung)`` [reported](https://rust-lang.zulipchat.com/#narrow/channel/326414-t-infra.2Fbootstrap/topic/Surprising.20stages.20for.20check.20build.20after.20stage.20reorg/with/521925606 )[#t-infra/bootstrap > Surprising stages for check build after stage reorg](https://rust-lang.zulipchat.com/#narrow/channel/326414-t-infra.2Fbootstrap/topic/Surprising.20stages.20for.20check.20build.20after.20stage.20reorg/with/521925606 ) that working on both the compiler and the library simultaneously with RA enabled is extremely difficult because checking library creates a heavy load on machines (by building stage1 compiler) on each modification. `--skip-std-check-if-no-download-rustc` flag is intended to reduce this heavy load on their IDE integration as much as possible.
Fixes : rust-lang/rust#141955
2025-06-05 12:21:34 +02:00
Jieyou Xu
94901629b4
triagebot: avoid unnecessary line break in PR welcome message
2025-06-04 21:25:15 +08:00
onur-ozkan
0ca1be9273
document skip-std-check-if-no-download-rustc in rustc-dev-guide
...
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-06-04 15:23:58 +03:00
许杰友 Jieyou Xu (Joe)
e80275489d
Merge pull request #2454 from rust-lang/tshepang-expand
2025-06-04 16:46:11 +08:00
Rageking8
bd9c30762a
Fix incorrect use of "recommend" over "recommended"
2025-06-04 16:30:02 +08:00
Tshepang Mbambo
94e0753504
expand meaning of ~? diagnostic annotation
2025-06-04 00:26:47 +02:00
许杰友 Jieyou Xu (Joe)
4d0724c48d
Merge pull request #2450 from jieyouxu/pr_message
2025-06-03 21:13:05 +08:00
Jieyou Xu
b65ceb28e0
Merge from rustc
2025-06-03 20:17:50 +08:00
Jieyou Xu
bf9c9d2f6e
Preparing for merge from rustc
2025-06-03 20:16:00 +08:00
Jieyou Xu
ffb93c6a60
triagebot: configure PR welcome message for no auto/explicit reviewer
2025-06-03 20:05:19 +08:00
Tshepang Mbambo
10f2bcc957
Merge pull request #2443 from smanilov/patch-21
...
Simplify long sentence
2025-06-02 17:30:02 +02:00
Stan Manilov
e74c2b5225
Simplify long sentence
2025-06-02 17:52:34 +03:00
León Orell Valerian Liehr
9649a9c0c5
Merge pull request #2446 from fmease/fix-warning-blocks
...
Fix some warning blocks that contain Markdown
2025-06-02 16:27:47 +02:00
León Orell Valerian Liehr
0718d8f29f
Fix some warning blocks that contain Markdown
...
Contents inside of an HTML element only get interpreted as Markdown
(as opposed to HTML) if its separated from the HTML tags with line breaks.
2025-06-02 16:21:59 +02:00
Tshepang Mbambo
7fe7fdd71c
Merge pull request #2445 from smanilov/patch-23
...
Add title and toc to Async chapter
2025-06-02 16:18:44 +02:00
Stan Manilov
63ecc0ed08
Add title and toc to Async chapter
...
This is standard for other chapters.
2025-06-02 17:16:29 +03:00
Stan Manilov
3b85b2f550
Trivial: dedup word
2025-06-02 17:02:34 +03:00
Yukang
a501cc7a19
Rollup merge of #141894 - tshepang:rdg-push, r=jieyouxu
...
rustc-dev-guide subtree update
r? `@ghost`
2025-06-02 20:57:42 +08:00
Tshepang Mbambo
9aa572d598
use consistent title capitalization
2025-06-02 12:35:52 +02:00
Tshepang Mbambo
23285efeab
distracting indirection
2025-06-02 12:34:19 +02:00
Tshepang Mbambo
a62b7c8300
use a relative path, so that this also works offline
2025-06-02 12:30:08 +02:00
Tshepang Mbambo
c197636ca8
Merge pull request #2386 from Lysxia/fix-link
...
Fix link to GatherBorrows
2025-06-02 12:08:03 +02:00
Tshepang Mbambo
0e379a6082
Merge pull request #2435 from smanilov/patch-19
...
Add opaque type attributes
2025-06-02 11:55:19 +02:00
Tshepang Mbambo
1e77768dd6
Merge pull request #2437 from rust-lang/rustc-pull
...
Rustc pull update
2025-06-02 11:47:49 +02:00
Stan Manilov
2556364580
Trivial: fix typo (change foo to bar)
...
There is no `foo` symbol in the preceding example. I assume the method `bar` is meant.
2025-06-02 10:52:31 +03:00
The rustc-dev-guide Cronjob Bot
530d4b3f05
Merge from rustc
2025-06-02 04:08:41 +00:00
The rustc-dev-guide Cronjob Bot
a139353362
Preparing for merge from rustc
2025-06-02 04:08:33 +00:00