about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2025-06-28Merge pull request #694 from rust-lang/sync_from_rust_2025_06_02antoyo-218/+124
Sync from rust 2025/06/02
2025-06-28Stop skipping libcore's f16::test_total_cmpAntoni Boucher-8/+1
2025-06-28Add TODOsAntoni Boucher-0/+3
2025-06-28Remove commented codeAntoni Boucher-13/+0
2025-06-28librustdoc: use tidy for sorting attrs and depsYotam Ofek-4/+8
2025-06-28librustdoc: remove unused feature gatesYotam Ofek-4/+0
2025-06-28Ignore failing testAntoni Boucher-0/+1
2025-06-28librustdoc: remove unneeded `#[recursion_limit]`Yotam Ofek-1/+0
2025-06-28librustdoc: remove unneeded `#[allow]`sYotam Ofek-3/+0
2025-06-28Auto merge of #142625 - cjgillot:inline-nocycle, r=oli-obkbors-134/+158
Only compute recursive callees once. Inlining MIR in a cyclic call graph may create query cycles, which are ICEs. The current implementation `mir_callgraph_reachable(inlining_candidate, being_optimized)` checks if calling `inlining_candidate` may cycle back to `being_optimized` that we are currently inlining into. This PR replaces this device with query `mir_callgraph_cyclic(being_optimized)` which searches the call graph for all cycles going back to `being_optimized`, and returns the set of functions involved in those cycles. This is a tradeoff: - in the current implementation, we perform more walks, but shallower; - in this new implementation, we perform fewer walks, but exhaust the graph. I'd have liked to compute this using some kind of SCC, but generic parameters make resolution path-dependent, so usual graph algorithms do not apply.
2025-06-28Fix for libgccjit 12Antoni Boucher-2/+4
2025-06-28Fix to use Function instead of RValueAntoni Boucher-14/+8
2025-06-28Merge branch 'master' into sync_from_rust_2025_06_02Antoni Boucher-10350/+11397
2025-06-28Fix type_name intrinsicAntoni Boucher-1/+7
2025-06-28moved testsKivooeo-0/+0
2025-06-29explain `ImportData::imported_module`bohan-1/+8
2025-06-28"set by Rusts options". Remove misleading always-true if cfg!(unix). Drop ↵наб-7/+5
#![feature(rustc_private)]
2025-06-28Auto merge of #142317 - compiler-errors:perf-fold, r=lcnrbors-0/+11
Don't fold in Instantiate when there's nothing to fold Maybe this helps idk r? lcnr
2025-06-28move discr=varid check to layout_sanity_checkFlorian Sextl-13/+10
2025-06-28cleaned up some testsKivooeo-74/+83
2025-06-28fix docs of FakeBorrowKindFlorian Sextl-14/+14
2025-06-28improve TagEncoding docsFlorian Sextl-12/+21
2025-06-28Port `#[link_name]` to the new attribute parsing infrastructureJonathan Brouwer-70/+96
Co-authored-by: Anne Stijns <anstijns@gmail.com> Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
2025-06-28update lockfileRalf Jung-16/+135
2025-06-28cleaned up some testsKivooeo-145/+162
2025-06-28Keep inlined var_debug_info only when full debug info is usedKornel-2/+4
2025-06-28Test MIR inlined var debug infoKornel-0/+50
2025-06-28fix typos on some doc commentsTshepang Mbambo-2/+2
2025-06-28Auto merge of #141759 - 1c3t3a:discriminants-query, r=saethlinbors-3/+909
Insert checks for enum discriminants when debug assertions are enabled Similar to the existing null-pointer and alignment checks, this checks for valid enum discriminants on creation of enums through unsafe transmutes. Essentially this sanitizes patterns like the following: ```rust let val: MyEnum = unsafe { std::mem::transmute<u32, MyEnum>(42) }; ``` An extension of this check will be done in a follow-up that explicitly sanitizes for extern enum values that come into Rust from e.g. C/C++. This check is similar to Miri's capabilities of checking for valid construction of enum values. This PR is inspired by saethlin@'s PR https://github.com/rust-lang/rust/pull/104862. Thank you so much for keeping this code up and the detailed comments! I also pair-programmed large parts of this together with vabr-g@. r? `@saethlin`
2025-06-28Merge pull request #4418 from RalfJung/native-lib-tracingRalf Jung-345/+305
various minor native-lib-tracing tweaks
2025-06-28Merge pull request #2481 from xizheyin/submit-in-rdg-or-rTshepang Mbambo-0/+4
Explain where rdg changes should be submitted
2025-06-28Workaround for mem safety in third party dllsChris Denton-21/+91
2025-06-28Correct comments.ywxt-2/+2
2025-06-28Restore to HashSetywxt-10/+9
Co-authored-by: Zoxc <zoxc32@gmail.com>
2025-06-28Add FIXMEs for those ignored tests.ywxt-0/+27
2025-06-28Add a comment for the `wait_for_jobs` function.ywxt-0/+2
Co-authored-by: Zoxc <zoxc32@gmail.com>
2025-06-28Only work-steal in the main loop for rustc_thread_poolywxt-112/+281
Co-authored-by: Zoxc <zoxc32@gmail.com>
2025-06-28move all the message types into one placeRalf Jung-31/+31
2025-06-28Merge pull request #20118 from Veykril/push-nolsxzxmyklsLukas Wirth-5/+9
ci: Fix up release workflow
2025-06-28de-intend some code, and extend commentsRalf Jung-111/+112
2025-06-28various minor native-lib-tracing tweaks, and disable naive-lib-tracing mode ↵Ralf Jung-206/+165
by default
2025-06-28ci: Fix up release workflowLukas Wirth-5/+9
2025-06-28Add regression test for #137857 to ensure that we generate intra doc links ↵Guillaume Gomez-0/+23
for extern crate items.
2025-06-28Use tidy to sort `sym::*` itemsYotam Ofek-94/+64
2025-06-28Fix `disallowed_script_idents` FP on identifiers with `_` (#15123)dswij-0/+18
Closes rust-lang/rust-clippy#15116 The cause for this issue is that `_` belongs to the `Common` catagory in unicode instead of `Latin` like other ASCII alphabets. Since ASCII characters are always allowed, I just added an extra `is_ascii()` check to ensure this. changelog: [`disallowed_script_idents`] fix FP on identifiers with `_`
2025-06-28`zero_ptr`: lint in `const` context as well (#15152)dswij-5/+30
The lint was extra restrictive, and didn't suggest using `core::ptr::null` and `core::ptr::null_mut` in `const` contexts although they have been const-stabilized since Rust 1.24. changelog: [`zero_ptr`]: lint in `const` context as well @rustbot label +I-false-negative +C-bug
2025-06-28Merge pull request #4417 from rust-lang/rustup-2025-06-28Ralf Jung-18110/+767241
Automatic Rustup
2025-06-28Merge pull request #20116 from Veykril/push-uypnmlyvotlmLukas Wirth-15/+19
ci: Cancel workflow only after the main matrix has finished
2025-06-28Add a link to rust-forge to explain where rdg changes should be submittedxizheyin-0/+4
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
2025-06-28ci: Cancel workflow only after the main matrix has finishedLukas Wirth-15/+19