about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2025-05-30Add test for closure_binderArthur Baars-0/+2
Co-authored-by: Lukas Wirth <me@lukaswirth.dev>
2025-05-30Rollup merge of #141781 - matthewjasper:unused-unsafe-lifetimes, ↵Jubilee-2/+111
r=compiler-errors Fix spans for unsafe binders closes rust-lang/rust#141758 r? ``@compiler-errors``
2025-05-30Rollup merge of #141771 - Kobzol:bors-increase-timeout, r=marcoieniJubilee-1/+2
Increase timeout for new bors try builds To sync it with [homu](https://github.com/rust-lang/homu/blob/master/cfg.production.toml#L34). Saw the timeout [here](https://github.com/rust-lang/rust/pull/138699#issuecomment-2922456283), it was set to only 4 hours for new bors. r? ``@marcoieni``
2025-05-30Rollup merge of #141768 - marcoieni:calculate-matrix-arm, r=KobzolJubilee-1/+1
ci: use arm to calculate job matrix
2025-05-30Rollup merge of #141609 - lolbinarycat:core-dedup-ptr-docs-139190, ↵Jubilee-123/+67
r=workingjubilee core: begin deduplicating pointer docs this also cleans up two inconsistancies: 1. both doctests on the ::add methods were actually calling the const version. 2. on of the ::offset methods was missing a line of clarification. part of https://github.com/rust-lang/rust/issues/139190
2025-05-30Rollup merge of #141494 - dianqk:match-br-non-int, r=wesleywiserJubilee-2/+65
mir-opt: Do not transform non-int type in match_branches Fixes #141378. r? mir-opt
2025-05-30Rollup merge of #141237 - Qelxiros:139911-exact-div, r=workingjubileeJubilee-1/+207
Implement ((un)checked_)exact_div methods for integers tracking issue: #139911 I see that there might still be some bikeshedding to be done, so if people want changes to this implementation, I'm happy to make those. I did also see that there was a previous attempt at this PR (#116632), but I'm not sure why it got closed.
2025-05-30Rollup merge of #141077 - chenyukang:yukang-fix-140991-comma, r=wesleywiserJubilee-18/+110
Fix the issue of typo of comma in arm parsing Fixes #140991 I also checked is it a '/', since it's near from ',' from keyboard.
2025-05-30Rollup merge of #140825 - rs-sac:ext, r=workingjubileeJubilee-69/+153
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-30Merge pull request #19896 from Veykril/push-qyutrlxyznumLukas Wirth-143/+322
internal: Restructure some semantics APIs for virtual macro files
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-30`slice.get(i)` should use a slice projection in MIR, like `slice[i]` doesScott McMurray-86/+385
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-30Add back `std_detect_env_override`sayantn-2/+69
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-8/+66
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-30Upgrade more intrinsics to the new versionsayantn-24/+54
2025-05-30Use the new definition of `rdtscp` intrinsicsayantn-4/+6
- add `-Zverify-llvm-ir` in testsuite
2025-05-30Fix s390x intrinsicssayantn-9/+9
- use correct intrinsic for unpackl - fix invalid use of `simd_{or,and,xor}` on floating point vectors - `vec_search_string` should require `vector-enhancements-2`
2025-05-30Fix PPC shift and rotate intrinsicssayantn-9/+9
2025-05-30Fix `ldpte` and `lddir` signaturesayantn-4/+6
- The 2nd argument of the LLVM intrinsic should be IMMARG
2025-05-30Pin compiler_builtins to 0.1.160 to fix some f128 testsAntoni Boucher-0/+39
2025-05-30mark gfni, vaes, vpclmulqdq intrinsics as safeusamoi-132/+165
2025-05-30cmpxchg16b: use atomic_compare_exchange from libcoreRalf Jung-28/+2
2025-05-30Fix spans for unsafe bindersMatthew Jasper-2/+111
2025-05-30Check cfg on features that stage0 compiler supportTsukasa OI-20/+0
Since the bootstrap compiler of Rust is bumped to the commit 5dadfd5c417f0b66816cb7ca662859e2c8751fb3 (version 1.88.0-beta.3 2025-05-11), some features should be safe to enable cfg checks. RISC-V Features: * "zicsr" * "zicntr" * "zihpm" * "zifencei" * "zihintntl" * "zihintpause" * "zimop" * "zicboz" * "zicond" * "ztso" * "zfa" * "zca" * "zcb" * "zcmop" * "b" x86 Features: * "amx-avx512" * "amx-fp8" * "amx-movrs" * "amx-tf32" * "amx-transpose"
2025-05-30Update `compiler-builtins` to 0.1.160Trevor Gross-4/+4
Includes the following changes: * Enable `__powitf2` on MSVC [1] * Update `CmpResult` to use a pointer-sized return type [2] * Better code reuse between `libm` and `compiler-builtins` [3], [4] * Stop building C versions of `__netf2` [5] since we have our own implementation [1]: https://github.com/rust-lang/compiler-builtins/pull/918 [2]: https://github.com/rust-lang/compiler-builtins/pull/920 [3]: https://github.com/rust-lang/compiler-builtins/pull/879 [4]: https://github.com/rust-lang/compiler-builtins/pull/925 [5]: https://github.com/rust-lang/compiler-builtins/pull/828
2025-05-30Move naked fn checks to hir_typeckOli Scherer-77/+73
2025-05-30implement `va_arg` for `powerpc64` and `powerpc64le`Folkert de Vries-3/+48
2025-05-30Auto merge of #139385 - joboet:threadlocal_address, r=nikicbors-9/+20
rustc_codegen_llvm: use `threadlocal.address` intrinsic to access TLS Fixes #136044 r? `@nikic`
2025-05-30chore: releasegithub-actions[bot]-1/+16
2025-05-30Merge pull request #4359 from RalfJung/cargo-miri-verboseRalf Jung-1/+1
cargo-miri: recognize --verbose alongside -v