about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2025-05-21Merge pull request #4338 from RalfJung/FileDescriptionRalf Jung-2/+8
FileDescription: improve read/write docs
2025-05-21Rollup merge of #141280 - Kobzol:docker-rust-lang-cache, r=marcoieniMatthias Krüger-3/+2
Use Docker cache from the current repository This is needed to make the cache work after moving CI from the `rust-lang-ci` org to `rust-lang`. Shouldn't be merged until we actually move bors. Context: https://github.com/rust-lang/infra-team/issues/188 r? `@marcoieni`
2025-05-21Merge commit 'cadf98bb7d783e2ea3572446c3f80d3592ec5f86' into ↵Philipp Krones-10/+5
clippy-subtree-update
2025-05-21Merge commit 'cadf98bb7d783e2ea3572446c3f80d3592ec5f86' into ↵Philipp Krones-4612/+6166
clippy-subtree-update
2025-05-21Add some track_caller info to precondition panicsBen Kimock-4/+1
2025-05-21Rollup merge of #141283 - Sol-Ell:fix-benchmarking-on-windows, r=KobzolMatthias Krüger-1/+5
Allow `x perf` to find rustc.exe on Windows Related issue: #141281
2025-05-21Rollup merge of #140994 - onur-ozkan:cc2ar-removal, r=albertlarsan68Matthias Krüger-148/+8
replace `cc_detect::cc2ar` with `cc::try_get_archiver` ~~Awaiting new release of [cc](https://crates.io/crates/cc) version with https://github.com/rust-lang/cc-rs/pull/1456 to bump the version.~~ ~~Blocked by https://github.com/rust-lang/cc-rs/pull/1456.~~ Kind a self-explanatory. try-job: dist-android
2025-05-21Allow x perf to find rustc.exe on WindowsEll-1/+5
2025-05-21FileDescription: improve read/write docsRalf Jung-2/+8
2025-05-21Merge pull request #4337 from RalfJung/ioRalf Jung-17/+25
test direct usage of io::{stdout,stderr,stdin}
2025-05-21test direct usage of io::{stdout,stderr,stdin}Ralf Jung-17/+25
2025-05-21Rollup merge of #141316 - rustbot:docs-update, r=ehussMatthias Krüger-0/+0
Update books ## rust-lang/edition-guide 1 commits in 1b1bb49babd65c732468cfa515b0c009bd1d26bc..aa6ce337c0adf7a63e33960d184270f2a45ab9ef 2025-05-20 23:47:34 UTC to 2025-05-20 23:47:34 UTC - Update references to the `missing_fragment_specifier` lint (rust-lang/edition-guide#376) ## rust-lang/reference 3 commits in acd0231ebc74849f6a8907b5e646ce86721aad76..118fd1f1f0854f50e3ae1fe4b64862aad23009ca 2025-05-20 22:52:38 UTC to 2025-05-20 21:45:13 UTC - Explain why nested receivers are dyn-incompatible (rust-lang/reference#1822) - Enable `[canonicalize-issue-links]` and `[no-mentions]` in triagebot (rust-lang/reference#1788) - Mention the temporary scope of `while let`. (rust-lang/reference#1779)
2025-05-21Rollup merge of #141078 - marcoieni:split-dist-arm-linux, r=KobzolMatthias Krüger-10/+55
ci: split dist-arm-linux job try-job: `dist-arm-linux-*`
2025-05-21Rollup merge of #141042 - marcoieni:split-dist-powerpc64le-linux, r=KobzolMatthias Krüger-13/+63
ci: split powerpc64le-linux job try-job: `dist-powerpc64le-linux-*`
2025-05-21Merge from rustcThe Miri Cronjob Bot-1473/+3546
2025-05-21Preparing for merge from rustcThe Miri Cronjob Bot-1/+1
2025-05-21add missing PATHonur-ozkan-0/+3
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-21Update booksrustbot-0/+0
2025-05-20Auto merge of #141305 - matthiaskrgr:rollup-l6nwaht, r=matthiaskrgrbors-57/+43
Rollup of 7 pull requests Successful merges: - #140972 (Add TRACING_ENABLED to Machine and add enter_trace_span!()) - #141282 (`core_float_math`: Move functions to `math` module) - #141288 (Get rid of unnecessary `BufDisplay` abstraction) - #141289 (use `Self` alias in self types rather than manually substituting it) - #141291 (link tracking issue in explicit-extern-abis.md) - #141294 (triagebot: ping me if rustdoc js is modified) - #141303 (Fix pagetoc inactive color in rustc book) r? `@ghost` `@rustbot` modify labels: rollup
2025-05-20Rename `cfg_match!` to `cfg_select!`Trevor Gross-3/+3
At [1] it was pointed out that `cfg_match!` syntax does not actually align well with match syntax, which is a possible source of confusion. The comment points out that usage is instead more similar to ecosystem `select!` macros. Rename `cfg_match!` to `cfg_select!` to match this. Tracking issue: https://github.com/rust-lang/rust/issues/115585 [1]: https://github.com/rust-lang/rust/issues/115585#issuecomment-2346307605
2025-05-20Auto merge of #140757 - dpaoliello:llvm20, r=Kobzolbors-2/+2
[win][ci] Update LLVM toolchain used to build LLVM to 20 While trying to get the aarch64-msvc build working correctly (#140136), I needed to update the version of LLVM used to build LLVM in Windows CI runners to 20 (as this has improved support for Arm64 and Arm64EC on Windows). This catches Windows up to Linux which was updated to 20 by #137189 try-job: `x86_64-apple-*` try-job: `aarch64-apple` try-job: `x86_64-msvc-*` try-job: `i686-msvc-*` try-job: `x86_64-mingw-*`
2025-05-20Rollup merge of #141303 - Urgau:pagetoc-fix-color, r=ehussMatthias Krüger-1/+1
Fix pagetoc inactive color in rustc book This PR fixes the color of inactive entry in rustc pagetoc, particularly with the "Rust" theme. | Before | After | |--------|-------| | ![image](https://github.com/user-attachments/assets/c6c8fe9a-0016-46cb-a638-71a62787b629) | ![image](https://github.com/user-attachments/assets/7146be5b-6ac3-4c9b-8e5a-eedd6ce61314) | Live preview at: http://urgau.rf.gd/book Related to https://github.com/rust-lang/rust/pull/140113#issuecomment-2888615781 r? `@ehuss`
2025-05-20Rollup merge of #141291 - ComputerDruid:patch-1, r=workingjubileeMatthias Krüger-1/+3
link tracking issue in explicit-extern-abis.md
2025-05-20Rollup merge of #141288 - yotamofek:pr/rustdoc/nuke-bufdisplay, r=GuillaumeGomezMatthias Krüger-55/+39
Get rid of unnecessary `BufDisplay` abstraction r? `@GuillaumeGomez` , since you reviewed the introduction of `BufDisplay` in #136784 . Not sure when it became unnecessary, but it did :) (feel free to reassign if you wish)
2025-05-20Fix pagetoc inactive color in rustc bookUrgau-1/+1
2025-05-20Auto merge of #141292 - matthiaskrgr:rollup-9nhhk7k, r=matthiaskrgrbors-27/+20
Rollup of 7 pull requests Successful merges: - #139419 (Error on recursive opaque ty in HIR typeck) - #141236 (Resolved issue with mismatched types triggering ICE in certain scenarios) - #141253 (Warning added when dependency crate has async drop types, and the feature is disabled) - #141269 (rustc-dev-guide subtree update) - #141275 (`gather_locals`: only visit guard pattern guards when checking the guard) - #141279 (`lower_to_hir` cleanups) - #141285 (Add tick to `RePlaceholder` debug output) r? `@ghost` `@rustbot` modify labels: rollup
2025-05-20Merge pull request #2400 from smanilov/patch-13Boxy-1/+2
Make it clear we talk about early bound params
2025-05-20Merge pull request #2398 from smanilov/patch-12Boxy-7/+9
Update links between ty-module and binders
2025-05-20Rollup merge of #141269 - tshepang:rdg-push, r=jieyouxuMatthias Krüger-27/+20
rustc-dev-guide subtree update r? `@ghost`
2025-05-20link tracking issue in explicit-extern-abis.mdDan Johnson-1/+3
2025-05-20Make it clear we talk about early bound paramsStan Manilov-1/+2
2025-05-20Get rid of unnecessary `BufDisplay` abstractionYotam Ofek-28/+6
2025-05-20Replace some `unwrap`s with `?`s where possibleYotam Ofek-2/+2
2025-05-20Make some fns return `fmt::Result` to get rid of a few `unwrap`sYotam Ofek-27/+33
2025-05-20ci: split powerpc64le-linux jobMarcoIeni-13/+63
2025-05-20Auto merge of #140932 - onur-ozkan:llvm-tools, r=Kobzolbors-13/+22
update llvm-tools logic for `dist` and `install` steps First commit aligns `build_steps::compile` and `build_steps::dist` logics for copying llvm-tools, and the second commit adds the correct `should_run` condition for `LlvmTools` step as the previous one was clearly incorrect. Fixes #140913
2025-05-20Fix misdirected link for `TypingEnv`Frank Steffahn-2/+2
2025-05-20Update links between ty-module and bindersStan Manilov-7/+9
The order might have been reversed at some point, leading to the two chapters talking about each other in the wrong order.
2025-05-20Auto merge of #141278 - lnicola:sync-from-ra, r=lnicolabors-1358/+3449
Subtree update of `rust-analyzer` r? `@ghost`
2025-05-20Small typo and style fixes in binders.mdStan Manilov-4/+5
Normally I refrain from nit picking, but this seamed worth it.
2025-05-20Use Docker cache from the current repositoryJakub Beránek-3/+2
This is needed to make the cache work after moving CI from the `rust-lang-ci` org to `rust-lang`.
2025-05-20Merge pull request #19826 from lnicola/sync-from-rustLaurențiu Nicola-9039/+12309
minor: Sync from downstream
2025-05-20Bump rustc cratesLaurențiu Nicola-22/+29
2025-05-20Merge from rust-lang/rustLaurențiu Nicola-9018/+12281
2025-05-20Preparing for merge from rust-lang/rustLaurențiu Nicola-1/+1
2025-05-20Miri CI: test aarch64-apple-darwin in PRs instead of the x86_64 targetRalf Jung-4/+6
2025-05-20make std::intrinsic functions actually be intrinsicsRalf Jung-16/+10
2025-05-20Merge from rustcRalf Jung-90/+80
2025-05-20Preparing for merge from rustcRalf Jung-1/+1
2025-05-20Rollup merge of #141259 - rustbot:docs-update, r=ehussStuart Cook-0/+0
Update books ## rust-lang/book 4 commits in d33916341d480caede1d0ae57cbeae23aab23e88..230c68bc1e08f5f3228384a28cc228c81dfbd10d 2025-05-19 14:25:14 UTC to 2025-05-08 21:28:56 UTC - Chapter 6 from tech review (rust-lang/book#4370) - Chapter 5 from tech review (rust-lang/book#4359) - Chapter 4 from tech review (rust-lang/book#4358) - Chapter 3 from tech review (rust-lang/book#4353) ## rust-lang/reference 12 commits in 387392674d74656f7cb437c05a96f0c52ea8e601..acd0231ebc74849f6a8907b5e646ce86721aad76 2025-05-19 15:41:22 UTC to 2025-05-06 21:36:01 UTC - Add doc for avx512 target features (rust-lang/reference#1778) - Parse grammar without regexes (rust-lang/reference#1827) - Parse optionals and repeats without regexes (rust-lang/reference#1826) - Fix grammar for `RangePatternBound` regarding literals (rust-lang/reference#1825) - Fix grammar for `LiteralPattern` regarding `-` (rust-lang/reference#1824) - Doc: Add the LoongArch stabilized target features (rust-lang/reference#1707) - Fix naked em-dash (rust-lang/reference#1820) - Add missing attribute for statement macros (rust-lang/reference#1819) - Make linked rules are clicked, highlight the color (rust-lang/reference#1817) - Use the reference grammar for inline assembly (rust-lang/reference#1807) - Fix typo in introduction (rust-lang/reference#1810) - Add an example admonition (rust-lang/reference#1812) ## rust-lang/rust-by-example 2 commits in 8a8918c698534547fa8a1a693cb3e7277f0bfb2f..c9d151f9147c4808c77f0375ba3fa5d54443cb9e 2025-05-13 17:49:05 UTC to 2025-05-13 17:48:43 UTC - fix(docs): standardize on `no_run` attribute for documentation examples (rust-lang/rust-by-example#1929) - Fix typo in Japanese translation (rust-lang/rust-by-example#1928)