about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2025-05-31Merge pull request #4361 from nia-e/remove-oopsieRalf Jung-46/+0
Remove useless file
2025-05-31accidentally committed fileNia Espera-46/+0
2025-05-31Merge pull request #19898 from Veykril/push-ykumpuwmuvmuLukas Wirth-19/+8
refactor: Remove unncessary duplication in highlight_related
2025-05-31refactor: Remove unncessary duplication in highlight_relatedLukas Wirth-19/+8
2025-05-31Merge from rustcThe Miri Cronjob Bot-239/+435
2025-05-31Preparing for merge from rustcThe Miri Cronjob Bot-1/+1
2025-05-31Auto merge of #141796 - weihanglo:update-cargo, r=weihanglobors-0/+0
Update cargo 12 commits in 68db37499f2de8acef704c73d9031be6fbcbaee4..64a12460708cf146e16cc61f28aba5dc2463bbb4 2025-05-22 14:27:15 +0000 to 2025-05-30 18:25:08 +0000 - chore: remove HTML comments and inline guide (rust-lang/cargo#15613) - Add .git-blame-ignore-revs (rust-lang/cargo#15612) - refactor: cleanup for `CompileMode` (rust-lang/cargo#15608) - refactor: separate "global" mode from CompileMode (rust-lang/cargo#15601) - fix(doc): pass `toolchain-shared-resources` to get doc styled (rust-lang/cargo#15605) - fix(embedded): Resolve multiple bugs in frontmatter parser (rust-lang/cargo#15573) - chore: Upgrade schemars (rust-lang/cargo#15602) - Update gix & socket2 (rust-lang/cargo#15600) - Add `-Zfix-edition` (rust-lang/cargo#15596) - chore(toml): disable `toml`'s default features, unless necessary (rust-lang/cargo#15598) - docs(README): fix the link to the changelog in the Cargo book (rust-lang/cargo#15597) - Add the future edition (rust-lang/cargo#15595) r? ghost
2025-05-30bootstrap: build std with less frame pointersJubilee Young-1/+2
Sometimes leaf frame-pointers can impact LLVM inlining choices, and that can be a real problem for things like `mul_add`.
2025-05-30Auto merge of #141791 - workingjubilee:rollup-qnqicy9, r=workingjubileebors-1/+1
Rollup of 8 pull requests Successful merges: - rust-lang/rust#140825 (Add Range parameter to `BTreeMap::extract_if` and `BTreeSet::extract_if`) - rust-lang/rust#141077 (Fix the issue of typo of comma in arm parsing) - rust-lang/rust#141237 (Implement ((un)checked_)exact_div methods for integers) - rust-lang/rust#141494 (mir-opt: Do not transform non-int type in match_branches) - rust-lang/rust#141609 (core: begin deduplicating pointer docs) - rust-lang/rust#141768 (ci: use arm to calculate job matrix) - rust-lang/rust#141771 (Increase timeout for new bors try builds) - rust-lang/rust#141781 (Fix spans for unsafe binders) r? `@ghost` `@rustbot` modify labels: rollup
2025-05-30Update cargoWeihang Lo-0/+0
2025-05-30Update expected test outputArthur Baars-21/+60
2025-05-30Run 'cargo codegen' to update testsArthur Baars-0/+5
2025-05-30Add test for closure_binderArthur Baars-0/+2
Co-authored-by: Lukas Wirth <me@lukaswirth.dev>
2025-05-30Rollup merge of #140825 - rs-sac:ext, r=workingjubileeJubilee-1/+1
Add Range parameter to `BTreeMap::extract_if` and `BTreeSet::extract_if` This new parameter was requested in the btree_extract_if tracking issue: https://github.com/rust-lang/rust/issues/70530#issuecomment-2486566328 I attempted to follow the style used by `Vec::extract_if`. Before: ```rust impl<K, V, A: Allocator + Clone> BTreeMap<K, V, A> { #[unstable(feature = "btree_extract_if", issue = "70530")] pub fn extract_if<F>(&mut self, pred: F) -> ExtractIf<'_, K, V, F, A> where K: Ord, F: FnMut(&K, &mut V) -> bool; } ``` After: ```rust impl<K, V, A: Allocator + Clone> BTreeMap<K, V, A> { #[unstable(feature = "btree_extract_if", issue = "70530")] pub fn extract_if<F, R>(&mut self, range: R, pred: F) -> ExtractIf<'_, K, V, R, F, A> where K: Ord, R: RangeBounds<K>, F: FnMut(&K, &mut V) -> bool; } ``` Related: #70530 — While I believe I have adjusted all of the necessary bits, as this is my first attempt to contribute to Rust, I may have overlooked something out of ignorance, but if you can point out any oversight, I shall attempt to remedy it.
2025-05-30Produce ClosureBinder node in atom.rsArthur Baars-0/+2
2025-05-30internal: Restructure some semantics APIs for virtual macro filesLukas Wirth-79/+185
2025-05-30Exclude `CARGO_HOME` from `generate-copyright` in-tree determinationAna Hobden-6/+19
2025-05-30Auto merge of #141657 - petrochenkov:nobinroot, r=jieyouxubors-1/+0
bootstrap: Remove `bin_root` from `PATH` It's not currently load bearing in typical setups on typical targets. Basically, if it passes the standard CI, then we can remove it, I think. If someone later reports this breaking the build, then we can address it in a more fine grained way. E.g. add it to `PATH` last and not first, only on specific targets, and only if specific files are not already found in `PATH` directories. Fixes [#t-infra/bootstrap > Build broken in MSYS2 @ 💬](https://rust-lang.zulipchat.com/#narrow/channel/326414-t-infra.2Fbootstrap/topic/Build.20broken.20in.20MSYS2/near/520709527)
2025-05-30Do not run PGO/BOLT in x64 Linux alt buildsJakub Beránek-8/+31
Signed-off-by: Jakub Beránek <berykubik@gmail.com>
2025-05-30fix clippy warningsonur-ozkan-235/+230
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-30fix bootstrap testsonur-ozkan-14/+1
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-30fix fs bug on CI and update ming-check-1 Dockerfileonur-ozkan-0/+9
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-30fix CI-rustc bugsonur-ozkan-11/+27
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-30be able to build stage1 library with CI-rustconur-ozkan-33/+14
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-30add "library" to `RUSTC_IF_UNCHANGED_ALLOWED_PATHS`onur-ozkan-15/+2
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-30improve comments and docsonur-ozkan-73/+36
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-30add change entryonur-ozkan-0/+5
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-30update dev guidelinesonur-ozkan-61/+41
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-30split `mingw-check` into twoonur-ozkan-26/+61
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-30use stage 1 for std on CIonur-ozkan-6/+6
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-30bless bootstrap testsonur-ozkan-3/+3
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-30update stage defaultsonur-ozkan-7/+7
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-30handle cfg bootstrap on compiler and mirionur-ozkan-3/+26
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-30improve `check::Std` handlingonur-ozkan-0/+9
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-30update std uplifting algorithmonur-ozkan-2/+9
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-30use initial rustc's std on stage 0onur-ozkan-31/+26
On stage 0, rather than compiling std utilize the one from the stage0 sysroot as stage 0 should represent the snapshot version not the compiled one. Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-30Merge pull request #4359 from RalfJung/cargo-miri-verboseRalf Jung-1/+1
cargo-miri: recognize --verbose alongside -v
2025-05-30cargo-miri: recognize --verbose alongside -vRalf Jung-1/+1
2025-05-30Merge pull request #4314 from yoctocell/fine-grained-trackingRalf Jung-175/+391
TB: Track permissions on the byte-level
2025-05-30* Merge `Cfg::render_long_html` and `Cfg::render_long_plain` methods common codeGuillaume Gomez-13/+16
* Fix invalid whitespace handling
2025-05-30ci: use free runner for aarch64-gnu-llvm-19-1 PR jobMarcoIeni-1/+1
2025-05-30Add some more `hir_expand::files` conversionsLukas Wirth-64/+137
2025-05-30Use "accessed" instead of "initialized" in `LocationState`Xinglu Chen-65/+68
2025-05-30Track permissions on the byte-levelXinglu Chen-116/+329
Co-authored-by: Ralf Jung <post@ralfj.de> Co-authored-by: Johannes Hostert <jhostert@ethz.ch>
2025-05-30Auto merge of #141765 - matthiaskrgr:rollup-4hug83b, r=matthiaskrgrbors-56/+91
Rollup of 5 pull requests Successful merges: - rust-lang/rust#141703 (Structurally normalize types as needed in `projection_ty_core`) - rust-lang/rust#141719 (Add tls_model for cygwin and enable has_thread_local) - rust-lang/rust#141736 (resolve stage0 sysroot from rustc) - rust-lang/rust#141746 (Rework `#[doc(cfg(..))]` checks as distinct pass in rustdoc) - rust-lang/rust#141749 (Remove RUSTC_RETRY_LINKER_ON_SEGFAULT hack) r? `@ghost` `@rustbot` modify labels: rollup
2025-05-30Rollup merge of #141749 - ↵Matthias Krüger-5/+0
Noratrieb:RUSTC_ACTUALLY_DO_NOT_RETRY_LINKER_ON_SEGFAULT, r=petrochenkov Remove RUSTC_RETRY_LINKER_ON_SEGFAULT hack It looks like this was added in rust-lang/rust#40422 6 years ago because of issues with the MacOS linker. MacOS got a new linker in the meantime, so that should probably be resolved now. Hopefully. r? petrochenkov
2025-05-30Rollup merge of #141746 - Urgau:rework-doc_cfg-checks, r=GuillaumeGomezMatthias Krüger-50/+88
Rework `#[doc(cfg(..))]` checks as distinct pass in rustdoc This PR reworks how rustdoc calls `rustc_attr_parsing::cfg_matches` to be in a separate pass, instead of being wired-up in a ad-hoc way, which is causing problems in https://github.com/rust-lang/rust/pull/138907#issuecomment-2920026627. This un-does most part of https://github.com/rust-lang/rust/pull/140894, but the result is IMO much cleaner, easier to reason about, and most importantly no longer interfears with rust-lang/rust#138907. r? `@GuillaumeGomez`
2025-05-30Rollup merge of #141736 - onur-ozkan:resolve-stage0-syroot-from-rustc, r=KobzolMatthias Krüger-1/+3
resolve stage0 sysroot from rustc Similar to https://github.com/rust-lang/rust/pull/141729, instead of manually navigating directories based on stage0 rustc, use `--print sysroot` to get the sysroot directly. This also works when using the bootstrap `rustc` shim. r? Kobzol
2025-05-30build dist for x86_64-pc-solaris and sparcv9-sun-solarisPetr Sumbera-172/+285
2025-05-30Auto merge of #141573 - nnethercote:rustdoc-alloc-cleanups, r=camelidbors-146/+140
rustdoc: cleanups relating to allocations These commits generally clean up the code a bit and also reduce allocation rates a bit. r? `@camelid`