about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2025-05-25fmtThe Miri Cronjob Bot-1/+3
2025-05-25Merge from rustcThe Miri Cronjob Bot-242/+201
2025-05-25Preparing for merge from rustcThe Miri Cronjob Bot-1/+1
2025-05-25Rollup merge of #139831 - lolbinarycat:rustdoc-mobile-sidebar, r=GuillaumeGomezJacob Pratt-1/+4
rustdoc: on mobile, make the sidebar full width and linewrap this is because the mobile sidebar cannot be resized, unlike on desktop.
2025-05-25bootstrap: clippy: set TESTNAME based on given pathsxtex-1/+18
This addresses issue 104200 by setting the TESTNAME environment variable automatically based on the paths from run configs, marking a selected set of UI tests to be run. Note that this does not filter out other unit tests using #[test].
2025-05-24document existing setupjyn-0/+8
2025-05-24Rollup merge of #141511 - Noratrieb:codegen-fn-attrs, r=compiler-errorsGuillaume Gomez-2/+2
Cleanup CodegenFnAttrFlags - Rename `USED` to `USED_COMPILER` to better reflect its behavior. - Reorder some items to group the used and allocator flags together - Renumber them without gaps
2025-05-24Rollup merge of #141505 - RalfJung:catch_unwind, r=NoratriebGuillaume Gomez-23/+23
rename internal panicking::try to catch_unwind The public function is called `catch_unwind`, the intrinsic at some point got renamed to `catch_unwind` -- there's no reason to have the internal implementation of this still be called `try`, so let's rename it to match the rest.
2025-05-24Rollup merge of #141487 - GuillaumeGomez:update-askama, r=notriddleGuillaume Gomez-10/+10
Update askama to `0.14.0` [Askama 0.14.0 release notes](https://github.com/askama-rs/askama/releases/tag/v0.14.0) Just one change needed for a filter in rustdoc. r? ```@notriddle```
2025-05-24rustdoc: use descriptive tooltip if doctest is conditionally ignoredbinarycat-10/+41
fixes https://github.com/rust-lang/rust/issues/141092
2025-05-24Cleanup CodegenFnAttrFlagsNoratrieb-2/+2
- Rename `USED` to `USED_COMPILER` to better reflect its behavior. - Reorder some items to group the used and allocator flags together - Renumber them without gaps
2025-05-24fix zulip topic URLRalf Jung-1/+1
2025-05-24Update `rustc_on_unimplemented` docsmejrs-61/+101
2025-05-24rename internal panicking::try to catch_unwindRalf Jung-23/+23
2025-05-24Rollup merge of #141486 - xizheyin:issue-141414, r=GuillaumeGomezMatthias Krüger-2/+4
rustdoc book: add argument explanation for `html_playground_url` Fixes #141414 r? `@GuillaumeGomez`
2025-05-24Rollup merge of #141480 - jyn514:treat-err-as-bug, r=jieyouxuMatthias Krüger-0/+36
document some -Z flags as living in the rustc-dev-guide i was looking for these but didn't find them at first; add a breadcrumb so people know where to look
2025-05-24ci: move PR job x86_64-gnu-tools to codebuildMarcoIeni-1/+1
2025-05-24Merge pull request #2405 from Kobzol/remove-mentions-of-rust-lang-ciJakub Beránek-10/+6
Remove mentions of rust-lang-ci/rust
2025-05-24Update `askama` version to `0.14.0` in `citool`Guillaume Gomez-7/+7
2025-05-24Update `askama` version to `0.14.0` in `generate-copyright` toolGuillaume Gomez-1/+1
2025-05-24Update `askama` version to `0.14.0` in librustdocGuillaume Gomez-2/+2
2025-05-24Auto merge of #141484 - matthiaskrgr:rollup-dc58owu, r=matthiaskrgrbors-3/+4
Rollup of 7 pull requests Successful merges: - #141405 (GetUserProfileDirectoryW is now documented to always store the size) - #141427 (Disable `triagebot`'s `glacier` handler) - #141429 (Dont walk into unsafe binders when emiting error for non-structural type match) - #141438 (Do not try to confirm non-dyn compatible method) - #141444 (Improve CONTRIBUTING.md grammar and clarity) - #141446 (Add 2nd Solaris target maintainer) - #141456 (Suggest correct `version("..")` predicate syntax in check-cfg) r? `@ghost` `@rustbot` modify labels: rollup
2025-05-24rustdoc book: add argument explanation for `html_playground_url`xizheyin-2/+4
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
2025-05-24Rollup merge of #141446 - psumbera:2nd-maintainer, r=RalfJungMatthias Krüger-0/+1
Add 2nd Solaris target maintainer Based on concenr here https://github.com/rust-lang/compiler-team/issues/870#issuecomment-2903825327 I propose my coleague ```@kulikjak``` as 2nd Solaris maintainer. He already did some work to Rust in past.
2025-05-24Rollup merge of #141405 - RalfJung:GetUserProfileDirectoryW, r=ChrisDentonMatthias Krüger-3/+3
GetUserProfileDirectoryW is now documented to always store the size Update to match https://github.com/MicrosoftDocs/sdk-api/pull/1810 Also fix a bug in the Miri implementation while I am starting at that code... r? ```@ChrisDenton``` Fixes #141254
2025-05-24Auto merge of #141415 - est31:let_chains_libcore, r=tgross35bors-1/+2
Remove #![feature(let_chains)] from libcore PR https://github.com/rust-lang/rust/pull/132833 has stabilized the let_chains feature. This PR removes the last occurrence from the library. Split out of #140966 as it caused breakage. Now we have a patch to the linux tree that fixes the build, so we update the linux tree to it. cc https://github.com/Rust-for-Linux/linux/issues/1163 cc https://github.com/rust-lang/rust/issues/140722
2025-05-24document some -Z flagsjyn-0/+36
2025-05-24Auto merge of #141421 - nnethercote:TypeAliasPart-get, r=GuillaumeGomezbors-35/+36
rustdoc: Speed up `TypeAliasPart::get` Big speedups here on a couple of the benchmarks. r? `@GuillaumeGomez`
2025-05-24typoTshepang Mbambo-1/+1
2025-05-24Simplify things a little more.Nicholas Nethercote-6/+3
2025-05-23Auto merge of #141460 - weihanglo:update-cargo, r=weihanglobors-0/+0
Update cargo 9 commits in 47c911e9e6f6461f90ce19142031fe16876a3b95..68db37499f2de8acef704c73d9031be6fbcbaee4 2025-05-14 17:53:17 +0000 to 2025-05-22 14:27:15 +0000 - chore(gh): Add new-lint issue template (rust-lang/cargo#15575) - fix(toml): Remove workaround for rustc frontmatter support (rust-lang/cargo#15570) - fix(vendor)!: vendor files with .rej/.orig suffix (rust-lang/cargo#15569) - fix(vendor)!: direct extraction for registry sources (rust-lang/cargo#15514) - chore(deps): update msrv (1 version) to v1.87 (rust-lang/cargo#15530) - Fix comment for cargo/core/compiler/fingerprint/mod.rs (rust-lang/cargo#15565) - fix: remove unnecessary workaround in standard_lib test (rust-lang/cargo#15522) - Allow configuring arbitrary codegen backends (rust-lang/cargo#15562) - Update dependencies (rust-lang/cargo#15557) r? ghost
2025-05-24Move code inside the `else` in `TypeAliasPart::get`.Nicholas Nethercote-29/+33
This is a huge perf win for rustdoc on the `typenum` and `nalgebra` benchmarks, because the `else` branch doesn't get hit much.
2025-05-24Simplify the "is some" test in `TypeAliasPart::get`.Nicholas Nethercote-1/+1
The comparison against `text` seems to be unnecessary.
2025-05-23GetUserProfileDirectoryW is now documented to always store the sizeRalf Jung-3/+3
2025-05-24Add LLVM link in appendixyukang-0/+1
2025-05-23Rollup merge of #141457 - ehuss:update-mdbook, r=Mark-SimulacrumMatthias Krüger-50/+5
Update mdbook to 0.4.50 This updates mdbook to 0.4.50 which brings in several changes, and specifically a fix for syntax highlighting in rust-by-example. Changelog: https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md#mdbook-0450
2025-05-23Rollup merge of #141374 - jeremyd2019:patch-1, r=jieyouxuMatthias Krüger-1/+10
make shared_helpers exe function work for both cygwin and non-cygwin hosts On Cygwin, it needs to not append .exe, because /proc/self/exe (and therefore `std::env::current_exe`) does not include the .exe extension, breaking bootstrap's rustc wrapper. On hosts other than Cygwin, it *does* need to append .exe because the file really does have a .exe extension, and non-Cygwin hosts won't be doing the same filename rewriting that Cygwin does when looking for a file X but finding only X.exe in its place. Arising from discussion in https://github.com/rust-lang/rust/pull/140154#pullrequestreview-2855782812 ``@mati865`` ``@Berrysoft``
2025-05-23Rollup merge of #141369 - ↵Matthias Krüger-72/+25
yotamofek:pr/rustdoc/format_integer_with_underscore_sep, r=notriddle Simplify `format_integer_with_underscore_sep` Noticed that this helper fn only ever gets called with decimal-base-formatted ints, so can be simplified a lot by not trying to handle hex and octal radixes. Second commit is completely unrelated, just simplified some code I wrote a while back 😁
2025-05-23Update cargoWeihang Lo-0/+0
2025-05-23Merge pull request #2404 from lolbinarycat/patch-1nora-4/+4
rustdoc.md: reorder list so test suites are not split up
2025-05-23let `tool::Miri` implementation to handle compilersonur-ozkan-2/+4
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-23Update mdbook to 0.4.50Eric Huss-50/+5
2025-05-23if stage isn't set explicitly, default to 1 when running mirionur-ozkan-1/+9
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-23Auto merge of #141437 - matthiaskrgr:rollup-jjagkxd, r=matthiaskrgrbors-223/+754
Rollup of 7 pull requests Successful merges: - #136400 (Improve handling of rustdoc lints when used with raw doc fragments.) - #140967 (Async drop poll shim for error dropee generates noop body) - #141019 (Update std doctests for android) - #141109 (discuss deadlocks in the std::io::pipe() example) - #141126 (rustdoc JSON: Don't apply `#[repr]` privacy heuristics) - #141376 (Rename `kw::Empty` as `sym::empty`.) - #141383 (Miri subtree update) r? `@ghost` `@rustbot` modify labels: rollup
2025-05-23document why rustdoc cannot look at function bodiesjyn-0/+22
2025-05-23Add 2nd Solaris target maintainerPetr Sumbera-0/+1
2025-05-23Small cleanup for `qpath_to_string`Yotam Ofek-9/+2
2025-05-23Simplify `format_integer_with_underscore_sep`Yotam Ofek-63/+23
Only ever needs to handle decimal reprs
2025-05-23Rollup merge of #141383 - RalfJung:miri-sync, r=RalfJungMatthias Krüger-199/+734
Miri subtree update r? `@ghost`
2025-05-23Rollup merge of #141376 - nnethercote:rename-kw-Empty, r=petrochenkovMatthias Krüger-4/+4
Rename `kw::Empty` as `sym::empty`. Because the empty string is not a keyword. r? `@petrochenkov`