about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2025-05-18Merge pull request #4322 from tiif/move_testRalf Jung-0/+4
Add more comments to libc-fs-with-isolation test
2025-05-18Add more comment to libc-fs-with-isolation testtiif-0/+4
2025-05-18ci: split dist-arm-linux jobMarcoIeni-10/+55
2025-05-18tools-aux ci runner: also cross-test doctestsRalf Jung-11/+9
2025-05-18rename to get rid of the 'raw' conceptFolkert de Vries-6/+3
2025-05-18attempt to have rustfmt use the new logicFolkert de Vries-3/+6
apparently it doesn't really use the asm parsing at present, so this may work?
2025-05-18Rollup merge of #141139 - jieyouxu:fix-rfl, r=UrgauLeón Orell Valerian Liehr-2/+2
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-18Rollup merge of #140966 - est31:let_chains_library, r=tgross35León Orell Valerian Liehr-1/+0
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-18Rollup merge of #140113 - Urgau:rustc-book-page-toc, r=ehussLeón Orell Valerian Liehr-0/+190
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). ![image](https://github.com/user-attachments/assets/9e790bea-059d-414e-b4a5-ac8170f57e27) Live preview at: http://urgau.rf.gd/book r? ```@jieyouxu```
2025-05-18Merge pull request #19687 from gohome001/highlight_unsafeLukas Wirth-0/+67
feat: highlight unsafe operations
2025-05-18attempt to make doctests work properly with old and new cargoRalf Jung-2/+5
2025-05-18Remove uses of `#[feature(avx512_target_feature)]`sayantn-4/+1
2025-05-18fmtThe Miri Cronjob Bot-1/+5
2025-05-18Merge from rustcThe Miri Cronjob Bot-200/+281
2025-05-18Preparing for merge from rustcThe Miri Cronjob Bot-1/+1
2025-05-18Auto merge of #141063 - dianqk:llvm-20.1.5, r=cuviperbors-0/+0
Update to LLVM 20.1.5 `@rustbot` label A-LLVM T-compiler
2025-05-17Auto merge of #141133 - matthiaskrgr:rollup-u8ndxyz, r=matthiaskrgrbors-180/+165
Rollup of 9 pull requests Successful merges: - #135808 (Implement Display for ``rustc_target::callconv::Conv``) - #137432 (Add as_ascii_unchecked() methods to char, u8, and str) - #139103 (deduplicate abort implementations) - #140917 (checktools.sh: fix bashism) - #141035 (turn lld warning on old gccs into info log) - #141118 (Enable rust-analyzer to go from query definition to the corresponding provider field) - #141121 (Only select true errors in `impossible_predicates`) - #141125 (check coroutines with `TypingMode::Borrowck` to avoid cyclic reasoning) - #141131 (Make some `match`es slightly more ergonomic in `librustdoc`) r? `@ghost` `@rustbot` modify labels: rollup
2025-05-17rustc-dev-guide: fix Rust for Linux rust-lang/rust labelJieyou Xu-2/+2
2025-05-17Rollup merge of #141131 - yotamofek:pr/rustdoc/match-ergo, r=fmeaseMatthias Krüger-121/+99
Make some `match`es slightly more ergonomic in `librustdoc` Bunch of small cleanups I found while working on other stuff, mostly getting rid of superfluous `*`s and `ref [mut]`s in `match`es, makes the code less sigil/keyword-heavy, and slightly improves readability IMHO. Also flattens a few nested `match`es.
2025-05-17Rollup merge of #140917 - RalfJung:checktools, r=WaffleLapkinMatthias Krüger-1/+1
checktools.sh: fix bashism Follow-up to https://github.com/rust-lang/rust/pull/140903. Turns out `tests/{pass,panic}` only properly expands in bash, not in dash. :/ r? `@WaffleLapkin`
2025-05-17Rollup merge of #139103 - joboet:abort_dedup, r=tgross35Matthias Krüger-35/+43
deduplicate abort implementations Currently, the code for process aborts is duplicated across `panic_abort` and `std`. This PR uses `#[rustc_std_internal_symbol]` to make the `std` implementation available to `panic_abort` via the linker, thereby deduplicating the code.
2025-05-17Rollup merge of #135808 - tiif:conv_display, r=workingjubileeMatthias Krüger-23/+22
Implement Display for ``rustc_target::callconv::Conv`` Follow up of https://github.com/rust-lang/rust/pull/133103#discussion_r1885552854
2025-05-17Catch panics in inference in analysis-statsFlorian Diebold-1/+17
2025-05-17Make some `match`es slightly more ergonomic in `librustdoc`Yotam Ofek-121/+99
2025-05-17do away with `_Self` and `TraitName` and check generic params for ↵mejrs-1/+1
rustc_on_unimplemented
2025-05-17Auto merge of #141116 - RalfJung:miri-sync, r=RalfJungbors-111/+69
Miri subtree update r? `@ghost`
2025-05-17bootstrap: bump windows tooklensy-65/+11
2025-05-17compiler & tools: bump windows crate to dedupe versionsklensy-1/+4
2025-05-17exlicitly pass -Zdoctest-xcompile to avoid cargo version behavior differencesRalf Jung-0/+2
2025-05-17opt-dist: fix deprecated BOLT -icf=1 optionklensy-1/+1
2025-05-17fix for doctest-xcompile stabilizationRalf Jung-53/+40
2025-05-17Rollup merge of #141036 - marcoieni:split-dist-ohos, r=KobzolMatthias Krüger-20/+114
ci: split the dist-ohos job try-job: `dist-ohos-*`
2025-05-17fix clippy lintsRalf Jung-18/+13
2025-05-17Merge from rustcRalf Jung-5371/+6135
2025-05-17Preparing for merge from rustcRalf Jung-1/+1
2025-05-17Auto merge of #141002 - GuillaumeGomez:subtree-update_cg_gcc_2025-05-14, ↵bors-0/+0
r=GuillaumeGomez Subtree update GCC backend 2025 05 14 cc `@antoyo`
2025-05-16Auto merge of #140911 - rust-lang:cargo_update, r=clubby789bors-99/+75
Weekly `cargo update` Automation to keep dependencies in `Cargo.lock` current. The following is the output from `cargo update`: ```txt compiler & tools dependencies: Locking 40 packages to latest compatible versions Updating clap v4.5.37 -> v4.5.38 Updating clap_builder v4.5.37 -> v4.5.38 Updating ctrlc v3.4.6 -> v3.4.7 Updating derive_setters v0.1.6 -> v0.1.7 Updating getrandom v0.3.2 -> v0.3.3 Updating icu_collections v1.5.0 -> v2.0.0 Adding icu_locale_core v2.0.0 Updating icu_normalizer v1.5.0 -> v2.0.0 Updating icu_normalizer_data v1.5.1 -> v2.0.0 Updating icu_properties v1.5.1 -> v2.0.0 Updating icu_properties_data v1.5.1 -> v2.0.0 Adding icu_provider v2.0.0 Updating idna_adapter v1.2.0 -> v1.2.1 Updating jiff v0.2.12 -> v0.2.13 Updating jiff-static v0.2.12 -> v0.2.13 Updating libffi v4.0.0 -> v4.1.0 Updating libffi-sys v3.2.0 -> v3.3.1 Updating libloading v0.8.6 -> v0.8.7 Updating libm v0.2.13 -> v0.2.15 Adding litemap v0.8.0 Updating nix v0.29.0 -> v0.30.1 Adding potential_utf v0.1.2 Updating rustc-build-sysroot v0.5.4 -> v0.5.5 Adding tinystr v0.8.1 Updating tokio v1.44.2 -> v1.45.0 Updating unic-langid v0.9.5 -> v0.9.6 Updating unic-langid-impl v0.9.5 -> v0.9.6 Updating unic-langid-macros v0.9.5 -> v0.9.6 Updating unic-langid-macros-impl v0.9.5 -> v0.9.6 Removing utf16_iter v1.0.5 Adding wasm-encoder v0.230.0 Adding wasmparser v0.230.0 Updating wast v229.0.0 -> v230.0.0 Updating wat v1.229.0 -> v1.230.0 Updating winnow v0.7.9 -> v0.7.10 Removing write16 v1.0.0 Adding writeable v0.6.1 Adding yoke v0.8.0 Adding yoke-derive v0.8.0 Adding zerotrie v0.2.2 Adding zerovec v0.11.2 Adding zerovec-derive v0.11.1 note: pass `--verbose` to see 36 unchanged dependencies behind latest library dependencies: Locking 0 packages to latest compatible versions note: pass `--verbose` to see 3 unchanged dependencies behind latest rustbook dependencies: Locking 26 packages to latest compatible versions Updating cc v1.2.21 -> v1.2.22 Updating clap v4.5.37 -> v4.5.38 Updating clap_builder v4.5.37 -> v4.5.38 Updating clap_complete v4.5.48 -> v4.5.50 Updating getrandom v0.3.2 -> v0.3.3 Updating icu_collections v1.5.0 -> v2.0.0 Adding icu_locale_core v2.0.0 Removing icu_locid v1.5.0 Removing icu_locid_transform v1.5.0 Removing icu_locid_transform_data v1.5.1 Updating icu_normalizer v1.5.0 -> v2.0.0 Updating icu_normalizer_data v1.5.1 -> v2.0.0 Updating icu_properties v1.5.1 -> v2.0.0 Updating icu_properties_data v1.5.1 -> v2.0.0 Updating icu_provider v1.5.0 -> v2.0.0 Removing icu_provider_macros v1.5.0 Updating idna_adapter v1.2.0 -> v1.2.1 Updating jiff v0.2.12 -> v0.2.13 Updating jiff-static v0.2.12 -> v0.2.13 Updating litemap v0.7.5 -> v0.8.0 Adding potential_utf v0.1.2 Updating tinystr v0.7.6 -> v0.8.1 Removing utf16_iter v1.0.5 Updating web_atoms v0.1.1 -> v0.1.2 Updating winnow v0.7.9 -> v0.7.10 Removing write16 v1.0.0 Updating writeable v0.5.5 -> v0.6.1 Updating yoke v0.7.5 -> v0.8.0 Updating yoke-derive v0.7.5 -> v0.8.0 Adding zerotrie v0.2.2 Updating zerovec v0.10.4 -> v0.11.2 Updating zerovec-derive v0.10.3 -> v0.11.1 ```
2025-05-16bump bootstrap cc-rs to `1.2.23`onur-ozkan-3/+3
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-16Auto merge of #141093 - weihanglo:update-cargo, r=weihanglobors-0/+0
Update cargo 5 commits in 056f5f4f3c100cb36b5e9aed2d20b9ea70aae295..47c911e9e6f6461f90ce19142031fe16876a3b95 2025-05-09 14:54:18 +0000 to 2025-05-14 17:53:17 +0000 - Stabilize doctest-xcompile (rust-lang/cargo#15462) - feat: skip `publish=false` pkg when publishing entire workspace (rust-lang/cargo#15525) - chore: bump to 0.90.0; update changelog (rust-lang/cargo#15520) - chore(triagebot): add `[no-mentions]` and `[note]` (rust-lang/cargo#15517) - add glob pattern support for known_hosts (rust-lang/cargo#15508) r? ghost
2025-05-16Update cargoWeihang Lo-0/+0
2025-05-16Merge pull request #19808 from Veykril/lw-ollszwnlmquwLukas Wirth-6/+6
ci: Run metrics on the beta channel
2025-05-16ci: Run metrics on the beta channelLukas Wirth-6/+6
This way we can catch regressions from upstream earlier
2025-05-16Remove #![feature(let_chains)] from library and src/librustdocest31-1/+0
2025-05-16Merge pull request #19807 from Veykril/lw-qyynkqysuyuyLukas Wirth-2/+15
fix: Don't overwrite `RUSTUP_TOOLCHAIN` if it is already set
2025-05-16fix: Don't overwrite `RUSTUP_TOOLCHAIN` if it is already setLukas Wirth-2/+15
2025-05-16Updated feature flag and output of `clippy/tests/ui/map_flatten*`Ryan van Polen-12/+10
2025-05-16Merge pull request #19805 from lnicola/inline-format-argsLaurențiu Nicola-6/+6
minor: Inline some format args
2025-05-16Inline some format argsLaurențiu Nicola-6/+6
2025-05-16rustdoc: on mobile, make the sidebar full width and linewrapbinarycat-1/+4
this is because the mobile sidebar cannot be resized, unlike on desktop.
2025-05-16Bump zip to 3.0Laurențiu Nicola-8/+5