Commit Graph

4237 Commits

Author SHA1 Message Date
Niko Matsakis 7aa34a045d
Merge eb4eba8ab2 into 4c6d66ccb0 2025-06-19 19:15:20 +08:00
Jieyou Xu eb4eba8ab2
Mention OSS nightly users 2025-06-19 19:15:06 +08:00
Jieyou Xu 6fe303f431
Amend test coverage explanation 2025-06-19 19:12:38 +08:00
Jieyou Xu beb25e1390
Add UB checks / opt question 2025-06-19 19:08:53 +08:00
Jieyou Xu c7e38e9640
Add test coverage elaboration 2025-06-19 19:07:12 +08:00
Jieyou Xu 5ad366e50d
Clarify stabilization report template is for language features 2025-06-19 18:57:25 +08:00
Jieyou Xu 183107472f
Drop unfinished sentence 2025-06-19 18:55:58 +08:00
Jieyou Xu ef25866b8f
Register stabilization report template 2025-06-19 18:51:06 +08:00
Jieyou Xu 784f90ee2f
Make Stabilization Template markdown copy friendly 2025-06-19 18:49:13 +08:00
Jieyou Xu fa8dce1efb
Recommend waiting a bit for team nominations 2025-06-19 18:13:45 +08:00
Jieyou Xu f80902e3ae
Elaborate on stabilization report summarization aspects 2025-06-19 18:04:51 +08:00
Jieyou Xu 8152a0dea4
Fix broken feature gate examples 2025-06-19 17:58:17 +08:00
Jieyou Xu 3f559ff34a
Drop "stabilization is easy" part 2025-06-19 17:56:47 +08:00
Jieyou Xu 1bbe997711
Address Affiliated work review feedback 2025-06-19 17:48:57 +08:00
Jieyou Xu 882699e328
Address Call for Testing review feedback 2025-06-19 17:33:15 +08:00
Manuel Drehwald 4c6d66ccb0
Merge pull request #2447 from rust-lang/offload-docs
initial instructions for gpu offload
2025-06-18 17:24:36 -07:00
Manuel Drehwald 4233695fea initial instructions for gpu offload 2025-06-18 17:22:50 -07:00
Tshepang Mbambo 33eaf36815
Merge pull request #2476 from rust-lang/tshepang-patch-1
fix markup
2025-06-19 00:04:36 +02:00
Tshepang Mbambo 980acc5eee
fix markup
That was intended to be a list.

Also, the order is not relevant.
2025-06-19 00:03:33 +02:00
Boxy e0a39188f1
Merge pull request #2474 from BoxyUwU/ambig_unambig_ty_consts
Document Ambig vs Unambig Type/Consts
2025-06-18 15:30:14 +01:00
Boxy 9d7ba8573d Reviews 2025-06-18 15:28:44 +01:00
Boxy c963b4ad93 Add links 2025-06-17 18:09:06 +01:00
Boxy a02af2f135 Write chapter on Unambig vs Ambig Types/Consts 2025-06-17 18:09:06 +01:00
Boxy 4185dca095 Stub chapter and consolidate under `/hir/` 2025-06-17 18:09:02 +01:00
nora a2c80e6e23
Merge pull request #2475 from lolbinarycat/patch-3
Profiling with perf: specify the section of bootstrap settings.
2025-06-17 18:34:03 +02:00
lolbinarycat 7b921990fc
Profiling with perf: specify the section of bootstrap settings. 2025-06-17 11:31:04 -05:00
Boxy 2078906630
Merge pull request #2472 from cbloodsworth/fix/tytable_parens
Remove hanging parenthesis from example signature.
2025-06-16 22:59:37 +01:00
Chris Bloodsworth ae0a09eae1 Remove hanging parenthesis from example signature.
Also replaced '→' symbol with '->' for consistency across the table.
2025-06-16 16:08:21 -04:00
nora 2c7a4bdb49
Merge pull request #2471 from Darksonn/patch-1
Use stage 1 for building docs
2025-06-16 19:45:23 +02:00
Alice Ryhl 38f01f117c
Use stage 1 for building docs 2025-06-16 17:03:33 +02:00
Tshepang Mbambo 59756939d5
Merge pull request #2468 from rust-lang/query-cleaning
Query cleaning
2025-06-14 23:52:29 +02:00
Tshepang Mbambo 288ea6e730 do not inline links 2025-06-14 22:56:10 +02:00
Tshepang Mbambo 754e07e449 title case 2025-06-14 22:49:46 +02:00
Tshepang Mbambo 19766701f6
Merge pull request #2467 from rust-lang/tshepang-patch-1
use sentence case
2025-06-14 22:46:18 +02:00
Tshepang Mbambo 43cc7cb922
use sentence case 2025-06-14 22:44:47 +02:00
Tshepang Mbambo 5a82d2f82f
Merge pull request #2466 from rust-lang/tshepang-moved
content has moved to another chapter
2025-06-14 22:17:51 +02:00
Tshepang Mbambo febe3e6cab content has moved to another chapter 2025-06-14 22:16:51 +02:00
Tshepang Mbambo 91ede12d31
Merge pull request #2465 from xizheyin/rustc-query
Adjust some doc for Query System
2025-06-14 21:39:25 +02:00
Tshepang Mbambo a6f2d67eb4
Merge pull request #2441 from rust-lang/tshepang-remove-title-case
use consistent title capitalization
2025-06-14 19:52:41 +02:00
xizheyin 1b289a860b Adjust some doc for Query System
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
2025-06-13 22:51:25 +08:00
Tshepang Mbambo 6966390e79
Merge pull request #2464 from rust-lang/rustc-pull
Rustc pull update
2025-06-12 13:30:15 +02:00
The rustc-dev-guide Cronjob Bot ee03ec2984 Merge from rustc 2025-06-12 04:06:44 +00:00
The rustc-dev-guide Cronjob Bot bf475d08f2 Preparing for merge from rustc 2025-06-12 04:06:27 +00:00
bors edd1cc758d Auto merge of #136594 - pascaldekloe:fmt-int128, r=tgross35
Faster fmt::Display of 128-bit integers, without unsafe pointer

In followup of #135265, hereby the 128-bit part.

* Batches per 16 instead of 19 digits
* Buffer access as array insteaf of unsafe pointer
* Added test coverage for i128 and u128

r? tgross35 ChrisDenton
2025-06-12 01:02:55 +00:00
bors 3a1d821625 Auto merge of #142358 - matthiaskrgr:rollup-fxe6m7k, r=matthiaskrgr
Rollup of 9 pull requests

Successful merges:

 - rust-lang/rust#141967 (Configure bootstrap backport nominations through triagebot)
 - rust-lang/rust#142042 (Make E0621 missing lifetime suggestion verbose)
 - rust-lang/rust#142272 (tests: Change ABIs in tests to more future-resilient ones)
 - rust-lang/rust#142282 (Only run `citool` tests on the `auto` branch)
 - rust-lang/rust#142297 (Implement `//@ needs-target-std` compiletest directive)
 - rust-lang/rust#142298 (Make loongarch-none target maintainers more easily pingable)
 - rust-lang/rust#142306 (Dont unwrap and re-wrap typing envs)
 - rust-lang/rust#142324 (Remove unneeded `FunctionCx` from some codegen methods)
 - rust-lang/rust#142328 (feat: Add `bit_width` for unsigned integer types)

Failed merges:

 - rust-lang/rust#141639 (Expose discriminant values in stable_mir)

r? `@ghost`
`@rustbot` modify labels: rollup
2025-06-11 17:51:57 +00:00
Matthias Krüger e3a84c8848
Rollup merge of #142328 - sorairolake:feature/uint-bit-width, r=tgross35
feat: Add `bit_width` for unsigned integer types

- Accepted ACP: rust-lang/libs-team#598
- Tracking issue: rust-lang/rust#142326

This PR adds methods to the primitive unsigned integer types that return the minimum number of bits required to represent an unsigned integer.
2025-06-11 13:48:13 +02:00
Matthias Krüger 4eb6b2e0b7
Rollup merge of #142324 - scottmcm:less-functioncx, r=workingjubilee
Remove unneeded `FunctionCx` from some codegen methods

No changes; just removing the `self` that wasn't needed.

r? workingjubilee
cc https://github.com/rust-lang/rust/pull/138759#issuecomment-2920860686
2025-06-11 13:48:13 +02:00
Matthias Krüger 13b10d6cbb
Rollup merge of #142306 - compiler-errors:nit-reveal-param-env-query, r=lcnr
Dont unwrap and re-wrap typing envs

Just a tiny tweak to make the query less awkward.

r? lcnr
2025-06-11 13:48:12 +02:00
Matthias Krüger f912b863e6
Rollup merge of #142298 - jieyouxu:loongarch-maintainer-list, r=fee1-dead
Make loongarch-none target maintainers more easily pingable

In the same style as rust-lang/rust#139028.
r? compiler
2025-06-11 13:48:12 +02:00
Matthias Krüger 87514bfa86
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