about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2025-07-08bootstrap: add change tracker entry for new --extra-checks=auto: featurebinarycat-0/+5
2025-07-08tidy: assume all files are modified in CIbinarycat-0/+4
2025-07-08tidy: warn when --extra-checks is passed an invalid lang:kind combobinarycat-3/+25
Co-authored-by: Jakub Beránek <berykubik@gmail.com>
2025-07-08tidy: add `auto:` prefix to --extra-checks syntaxbinarycat-20/+67
currently this just uses a very simple extension-based heirustic.
2025-07-08tidy: update files_modified to take CiInfobinarycat-3/+7
2025-07-08tidy: factor out change detection logic and make it more robustbinarycat-16/+30
now does proper parsing of git's output and falls back to assuming all files are modified if `git` doesn't work. accepts a closure so extensions can be checked.
2025-07-08Revert "Re-enable fixpoint iteration for variance computation"Chayim Refael Friedman-13/+13
2025-07-08Error on moving unsized values rather than ICE'ingmejrs-9/+153
2025-07-08Win: Use exceptions with empty data for SEH panic exception copiesGeorge Tokmaji-4/+14
instead of a new panic For unwinding with SEH, we currently construct a C++ exception with the panic data. Being a regular C++ exception, it interacts with the C++ exception handling machinery and can be retrieved via `std::current_exception`, which needs to copy the exception. We can't support that, so we panic, which throws another exception, which the C++ runtime tries to copy and store into the exception_ptr, which panics again, which causes the C++ runtime to store a `bad_exception` instance. However, this doesn't work because the panics thrown by the copy function will be dropped without being rethrown, and causes unnecessary log spam in stderr. Fix this by directly throwing an exception without data, which doesn't cause log spam and can be dropped without being rethrown.
2025-07-08add extra log messages to track setupFolkert de Vries-0/+3
2025-07-08SpellingAleksey Kliger-1/+1
2025-07-08tidy: refactor --extra-checks parsingbinarycat-14/+111
2025-07-08Auto merge of #143645 - matthiaskrgr:rollup-d2a3leo, r=matthiaskrgrbors-70/+268
Rollup of 7 pull requests Successful merges: - rust-lang/rust#143402 (Port several linking (linkage?) related attributes the new attribute system ) - rust-lang/rust#143555 (Don't mark `#[target_feature]` safe fns as unsafe in rustdoc JSON.) - rust-lang/rust#143593 (Port #[rustc_dummy]) - rust-lang/rust#143600 (Update intro blurb in `wasm32-wasip1` docs) - rust-lang/rust#143603 (Clarify the meaning of `AttributeOrder::KeepFirst` and `AttributeOrder::KeepLast`) - rust-lang/rust#143620 (fix: Remove newline from multiple crate versions note) - rust-lang/rust#143622 (Add target maintainer information for mips64-unknown-linux-muslabi64) Failed merges: - rust-lang/rust#143403 (Port several trait/coherence-related attributes the new attribute system) r? `@ghost` `@rustbot` modify labels: rollup
2025-07-08Rollup merge of #143622 - ↵Matthias Krüger-1/+51
Gelbpunkt:mips64-unknown-linux-muslabi64-target-maintainer, r=jieyouxu Add target maintainer information for mips64-unknown-linux-muslabi64 The `mips64-unknown-linux-muslabi64` target is currently rather broken, but I'm working on getting it fixed so that it can at least be used again. While I can't commit to maintaining the LLVM side of this target, I don't mind looking into any other MIPS or musl-related issues that arise with this target. See e.g. rust-lang/rust#143409 for some rustc fixes I have in the pipeline and https://github.com/rust-lang/libc/pull/4509, https://github.com/rust-lang/libc/pull/4527, https://github.com/rust-lang/libc/pull/4528, https://github.com/rust-lang/libc/pull/4529, https://github.com/rust-lang/libc/pull/4530 for fixing the libc definitions for this target. I'm adding myself as a maintainer mostly due to [this interaction](https://github.com/rust-lang/libc/pull/4530#issuecomment-3045912645). LLVM support has been a concern for these targets in the past, but it shouldn't hurt to have a nominal maintainer for these even if they remain tier 3. From my experience, LLVM for MIPS is working well nowadays unless you decide to use LLD, which is horribly broken on MIPS.
2025-07-08Rollup merge of #143620 - Muscraft:remove-newline, r=compiler-errorsMatthias Krüger-1/+1
fix: Remove newline from multiple crate versions note While working on getting `annotate-snippets` to match `rustc`, `annotate-snippets` was adding an extra new line after [this line](https://github.com/rust-lang/rust/blob/a2d45f73c70d9dec57140c9412f83586eda895f8/tests/run-make/crate-loading/multiple-dep-versions.stderr#L9) for [`run-make/crate-loading/multiple-dep-versions.rs`](https://github.com/rust-lang/rust/blob/a2d45f73c70d9dec57140c9412f83586eda895f8/tests/run-make/crate-loading/multiple-dep-versions.rs). I found out this was because there was an explicit `\n` in the message that `annotate-snippets` was respecting, while `rustc` was [skipping it](https://github.com/rust-lang/rust/blob/2f8eeb2bba86b8f457ec602c578473c711f85628/compiler/rustc_errors/src/emitter.rs#L1542). After talking with ```@estebank,``` I was told to remove the newline from the error message. r? ```@estebank```
2025-07-08Rollup merge of #143603 - Periodic1911:clarify_keepfistlast, r=compiler-errorsMatthias Krüger-1/+15
Clarify the meaning of `AttributeOrder::KeepFirst` and `AttributeOrder::KeepLast` Clarify the meaning of `KeepLast` and `KeepFirst` for https://github.com/rust-lang/rust/issues/131229#issuecomment-2971353197 Just a minor clarification, but me and ``@JonathanBrouwer`` have confused these two a few times so I think it's warranted. r? ``@oli-obk`` cc ``@JonathanBrouwer``
2025-07-08Rollup merge of #143600 - alexcrichton:wasm32-wasip1-doc-reword, r=jieyouxuMatthias Krüger-25/+23
Update intro blurb in `wasm32-wasip1` docs I was reading over this documentation in light of the effort to enlist more maintainers for Tier 2 targets and figured it was time for a refresh of this documentation now that historical renames/etc have all become a thing of the past. No new major changes to this documentation, mostly just wanted to update it and reflect the modern status quo for this target.
2025-07-08Rollup merge of #143593 - mejrs:dummy, r=jdonszelmannMatthias Krüger-1/+28
Port #[rustc_dummy] r? ``@jdonszelmann``
2025-07-08Rollup merge of #143555 - ↵Matthias Krüger-1/+37
obi1kenobi:pg/target-feature-not-unsafe-rustdoc-json, r=aDotInTheVoid Don't mark `#[target_feature]` safe fns as unsafe in rustdoc JSON. Fixes https://github.com/rust-lang/rust/issues/142655 by explicitly checking whether functions are safe but using `#[target_feature]`, instead of relying on the `FnHeader::is_unsafe()` method which considers such functions unsafe. I don't believe this merits a bump of the rustdoc JSON `FORMAT_VERSION` constant, since the format is unchanged and this is just a small bugfix. r? aDotInTheVoid
2025-07-08Rollup merge of #143402 - GrigorenkoPV:attributes/link_attrs, r=jdonszelmannMatthias Krüger-40/+113
Port several linking (linkage?) related attributes the new attribute system This ports: - `#[export_stable]` - `#[ffi_const]` - `#[ffi_pure]` - `#[rustc_std_internal_symbol]` Part of rust-lang/rust#131229 r? ``@oli-obk``
2025-07-08Add triagebot stdarch mention pingJakub Beránek-0/+9
2025-07-08Instantiate binder for Copy/Clone/Sized eagerlyMichael Goulet-196/+222
2025-07-08Instantiate auto trait before computing higher-ranked constituent typesMichael Goulet-16/+23
2025-07-09Migrate `pull_assignment_up` assist to `SyntaxEditor`Hayashi Mikihiro-27/+59
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-07-08Remove `const_eval_select` hackOli Scherer-99/+23
2025-07-08Fix weird rustdoc output when single and glob reexport conflict on a nameGuillaume Gomez-40/+84
2025-07-08Merge pull request #1853 from Kobzol/pull-fixedAmanieu d'Antras-22324/+35859
Perform the first rustc pull.. for the second time
2025-07-08Constify `Fn*` traitsOli Scherer-532/+128
2025-07-08Merge ref '040e2f8b9ff2' from rust-lang/rustJakub Beránek-22323/+35858
Pull recent changes from https://github.com/rust-lang/rust via Josh. Upstream ref: 040e2f8b9ff2d76fbe2146d6003e297ed4532088 Filtered ref: cf4d00a666607e356e410a820ae07eeba28a9b53 This merge was created using https://github.com/rust-lang/josh-sync.
2025-07-08Prepare for merging from rust-lang/rustJakub Beránek-0/+1
This updates the rust-version file to 040e2f8b9ff2d76fbe2146d6003e297ed4532088.
2025-07-08Reset rust-versionJakub Beránek-1/+0
2025-07-08Auto merge of #134628 - estebank:const-default, r=oli-obkbors-160/+192
Make `Default` const and add some `const Default` impls Full list of `impl const Default` types: - () - bool - char - std::ascii::Char - usize - u8 - u16 - u32 - u64 - u128 - i8 - i16 - i32 - i64 - i128 - f16 - f32 - f64 - f128 - std::marker::PhantomData<T> - Option<T> - std::iter::Empty<T> - std::ptr::Alignment - &[T] - &mut [T] - &str - &mut str - String - Vec<T>
2025-07-08Implement enter_trace_span() in MiriMachineStypox-2/+10
2025-07-08Make enter_trace_span take a closure for better optimizationStypox-2/+2
2025-07-08Add inline(always) to Machine::enter_trace_spanStypox-0/+1
2025-07-08Replace TRACING_ENABLED with enter_trace_span()Stypox-20/+24
Hopefully this will make tracing calls be optimized out properly when tracing is disabled
2025-07-08Always inline InterpCx::layout_of after perf regressionStypox-1/+1
2025-07-08Add cross-compilation tool testJakub Beránek-0/+29
2025-07-08skip exit late lint pass on tests (#15222)llogiq-9/+99
changelog: [`exit`]: When using the `--test` or `--all-targets` flag, the exit lint should not fail on the main function. Fixes rust-lang/rust-clippy#13518 With help from @sesgoe
2025-07-08clippy fix: markdown indentation for indented items after line breakMarijn Schouten-16/+16
2025-07-08collect.rs: remove empty line after doc commentMarijn Schouten-8/+3
2025-07-08int_log10.rs: change top level doc comments to outerMarijn Schouten-2/+2
2025-07-08Rewrite for clarityAleksey Kliger-12/+14
move common code to a helper function Co-Authored-By: Kobzol <berykubik@gmail.com>
2025-07-08fix: correct assertion to check for 'noinline' attribute presence before removalDillon Amburgey-1/+1
2025-07-08fix: correct parameter names in LLVMRustBuildMinNum and LLVMRustBuildMaxNum ↵Dillon Amburgey-2/+2
FFI declarations
2025-07-08Auto merge of #143540 - yotamofek:pr/library/simplify-num-fmt, r=tgross35bors-22/+3
Simplify num formatting helpers Noticed `ilog10` was being open-coded when looking at this diff: https://github.com/rust-lang/rust/pull/143423/files/85d6768f4c437a0f3799234df20535ff65ee17c2..76d9775912ef3a7ee145053a5119538bf229d6e5#diff-6be9b44b52d946ccac652ddb7c98146a01b22ea0fc5737bc10db245a24796a45 That, and two other small cleanups 😁 (should probably go through perf just to make sure it doesn't regress formatting)
2025-07-08remove unneeded castFolkert de Vries-4/+4
2025-07-08shorten array literalsFolkert de Vries-104/+28
2025-07-08remote intermediate assignmentFolkert de Vries-51/+23
2025-07-08fix whitespace in `aarch64.spec.yml`Folkert de Vries-27/+27