about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2025-09-19Merge pull request #20697 from Oblarg/fix-negative-const-generic-literalsShoyu Vanilla (Flint)-1/+47
fix negative const generic integer literals
2025-09-19address review feedbackOblarg-0/+23
2025-09-19minor: Get rid of unused deps `chalk-solve` and `chalk-recursive`Shoyu Vanilla-88/+16
2025-09-19Rollup merge of #146740 - RalfJung:miri, r=RalfJungStuart Cook-1734/+7444
miri subtree update Subtree update of `miri` to https://github.com/rust-lang/miri/commit/5a142000d23c75684315e63cad0fb4e2fbcd8bc2. Created using https://github.com/rust-lang/josh-sync. r? ``@ghost``
2025-09-19Rollup merge of #146738 - beepster4096:widnows, r=jieyouxuStuart Cook-1/+1
Fix tidy spellchecking on Windows Tidy should now check for executable with the right extension for the platform when installing tools
2025-09-19Rollup merge of #146663 - erickt:win, r=wesleywiserStuart Cook-0/+14
Allow windows resource compiler to be overridden In rust-lang/rust#146018, it is now required to provide a resource compiler on windows when compiling rust. This allows toolchain builders to explicitly provide a path to an alternative, such as llvm-rc, instead of the one that's provided by the Windows SDK. cc ```@lambdageek```
2025-09-19Rollup merge of #146484 - notriddle:stringdex-js-opt, r=GuillaumeGomezStuart Cook-140/+290
rustdoc-search: JavaScript optimization based on Firefox Profiler output Part of https://github.com/rust-lang/rust/issues/146048 Preview: https://notriddle.com/rustdoc-html-demo-12/stringdex-js-opt/std/index.html These commits are based on some profiler readings, and should reduce CPU usage for name-based searching. - The first commit improves warm searches by allocating less garbage when data is already loaded: Before: https://profiler.firefox.com/public/wvzd88m8r70p8frvz1z628tv3htwna0b9c0ef10/calltree/?globalTrackOrder=0w2&implementation=js&thread=3&v=11 After: https://profiler.firefox.com/public/yfe9aq6ep3kacw3zmr7jqn6gv7ckfq86rg89568/calltree/?globalTrackOrder=0w2&implementation=js&thread=3&v=11 - The second commit improves cold searches by delaying load for special type names until type-based search runs Before: 5.86s (throttled to "Good 2G" in Dev Tools) <https://doc.rust-lang.org/nightly/std/index.html?search=> <img width="2524" height="919" alt="image" src="https://github.com/user-attachments/assets/8dbbbd46-b7ab-4e3c-9e8c-f1e41cfaa968" /> After: 5.77s (throttled to "Good 2G" in Dev Tools) <https://notriddle.com/rustdoc-html-demo-12/stringdex-js-opt/std/index.html?search=> <img width="2524" height="912" alt="image" src="https://github.com/user-attachments/assets/6976a584-24f4-4d47-8118-7a81b22d411e" /> For comparison's sake, the same test takes 12.17s on stable <https://doc.rust-lang.org/1.89.0/std/index.html?search=> <img width="2525" height="916" alt="image" src="https://github.com/user-attachments/assets/eb6df2e8-6632-4bef-a6d0-5179c6288fd0" />
2025-09-19Fix `else` completion before else keywordA4-Tacks-3/+133
Example --- ```rust fn foo() { let x = if true { 1 } el$0 else { 2 }; } ``` **Before this PR**: ```text else~ k [LS] else if~ k [LS] ``` **After this PR**: ```text else if~ k [LS] ```
2025-09-19Document how to test with iOS/tvOS/watchOS/visionOS simulatorMads Marquart-41/+51
2025-09-19Allow running remote-test-server on Apple simulatorsMads Marquart-4/+15
2025-09-19fix clippy warningRalf Jung-2/+2
2025-09-19fix miri bootstrap buildRalf Jung-2/+16
2025-09-19Add `#[track_caller]` for check_assist_by_labelA4-Tacks-0/+1
2025-09-19Fix extract_variable on LetExprA4-Tacks-1/+28
Example --- ```rust fn main() { if $0let$0 Some(x) = Some(2+2) {} } ``` **Before this PR**: ```rust fn main() { let $0var_name = let Some(x) = Some(2+2); if var_name {} } ``` **After this PR**: ```rust fn main() { let $0var_name = Some(2+2); if let Some(x) = var_name {} } ```
2025-09-19Merge pull request #2580 from rust-lang/tshepang-patch-2许杰友 Jieyou Xu (Joe)-0/+4
point to Compiler team docs on Forge
2025-09-19Set WithCachedTypeInfo::stable_hash when in-treeLaurențiu Nicola-0/+6
2025-09-18fix negative const generic integer literalsOblarg-1/+24
2025-09-18Merge pull request #4592 from RalfJung/sqrtRalf Jung-38/+54
implement sqrt for f16 and f128
2025-09-18Merge pull request #2587 from GuillaumeGomez/gcc-backend-missing-docsGuillaume Gomez-2/+55
Add missing documentation for running tests with GCC backend
2025-09-18fix tidy spellchecking on windowsbeepster4096-1/+1
2025-09-18share sqrt implemention across float typesRalf Jung-39/+25
2025-09-18implement sqrt for f16 and f128Ralf Jung-15/+45
2025-09-18Merge pull request #4583 from Patrick-6/miri-genmc-estimationRalf Jung-170/+395
Add GenMC estimation mode.
2025-09-19fix: Fix one more thing in `in-rust-tree`Shoyu Vanilla-1/+1
2025-09-18tweak genmc error report noteRalf Jung-14/+23
2025-09-18Merge pull request #20694 from ShoyuVanilla/bump-rustcLaurențiu Nicola-49/+62
minor: Yet another rustc crates bump
2025-09-19minor: Yet another rustc crates bumpShoyu Vanilla-49/+62
2025-09-19fix: Fix `indexmap` with `in-rust-tree`Shoyu Vanilla-6/+1
2025-09-18Allow windows resource compiler to be overriddenErick Tryzelaar-0/+14
It is now required to provide a resource compiler on windows when compiling rust. This allows toolchain builders to explicitly provide a path to an alternative, such as llvm-rc, instead of the one that's provided by the Windows SDK.
2025-09-18Bump rustc crates againLaurențiu Nicola-57/+50
2025-09-18Merge commit '20ce69b9a63bcd2756cd906fe0964d1e901e042a' into ↵Philipp Krones-2474/+4375
clippy-subtree-update
2025-09-18chore: Update rustc depsShoyu Vanilla-30/+44
2025-09-18Fix applicable after l_curly for replace_is_method_with_if_let_methodA4-Tacks-0/+18
2025-09-18Auto merge of #146671 - ZuseZ4:update-enzyme-submodule, r=davidtwcobors-0/+0
update enzyme submodule I upstreamed a few of our rust-lang/Enzyme patches, so I could drop them in our fork. r? compiler
2025-09-18Add GenMC estimation mode. Improve error handling and output printing.Patrick-6-170/+386
2025-09-18Rollup merge of #146694 - camsteffen:impl-subject, r=compiler-errorsStuart Cook-5/+5
Remove ImplSubject It only has one usage in rustdoc.
2025-09-18Rollup merge of #146664 - fmease:clean-up-dyn, r=jdonszelmannStuart Cook-4/+4
Clean up `ty::Dynamic` 1. As a follow-up to PR rust-lang/rust#143036, remove `DynKind` entirely. 2. Inside HIR ty lowering, consolidate modules `dyn_compatibility` and `lint` into `dyn_trait` * `dyn_compatibility` wasn't about dyn compatibility itself, it's about lowering trait object types * `lint` contained dyn-Trait-specific diagnostics+lints only
2025-09-18Rollup merge of #146645 - yotamofek:pr/rustdoc/fndecl_inner_full_print, r=fmeaseStuart Cook-51/+62
Cleanup `FnDecl::inner_full_print` `inner_full_print` was pretty hard to follow IMHO. Hopefully this cleans it up a little bit. Also, it was checking whether `self.inputs` is empty twice, and then handling an unreachable match arm: https://github.com/yotamofek/rust/blob/f836ae4e663b6e8938096b8559e094d18361be55/src/librustdoc/html/format.rs#L1368C1-L1368C33 `last_input_index` could only be `None` if the fn has no parameters, in which case the loop body would never run. r? ``@GuillaumeGomez`` if you have the capacity :) BTW, can we rename `FnDecl::inputs` to `parameters` or something? And `output` to `return_ty`?
2025-09-18Merge pull request #20664 from ChayimFriedman2/coerce-nsChayim Refael Friedman-3944/+9358
fix: Port a bunch of stuff from rustc and fix a bunch of type mismatches/diagnostics
2025-09-17Remove ImplSubjectCameron Steffen-5/+5
2025-09-17Merge pull request #4589 from LorrensP-2158466/freebsd-readdirRalf Jung-27/+46
support `readdir` on FreeBSD
2025-09-17about-this-guide.md: improve a bitTshepang Mbambo-4/+4
2025-09-17readdir for freebsdLorrensP-2158466-27/+46
2025-09-17Rollup merge of #146654 - samueltardieu:issue142534, r=KobzolJana Dönszelmann-3/+3
Do not use `git -C dir` Older versions of git (≤ 1.8.5) do not support the `-C dir` global option. Use the `cwd` optional argument when using Python's `subprocess` functionality instead. Fix rust-lang/rust#142534
2025-09-17Rollup merge of #146598 - bjorn3:feature_llvm_enzyme, r=davidtwcoJana Dönszelmann-7/+3
Make llvm_enzyme a regular cargo feature This makes it clearer that it is set by the build system rather than by the rustc that compiles the current rustc. It also avoids bootstrap needing to pass `--check-cfg llvm_enzyme` to rustc.
2025-09-17Rollup merge of #146458 - Hayden602:bootstrap, r=KobzolJana Dönszelmann-1/+22
Add parallel-frontend-threads to bootstrap.toml and enable multi-threaded parallel compilation Add the option to use the parallel compiler when building Rust code in bootstrap.
2025-09-17Cleanup `FnDecl::inner_full_print`Yotam Ofek-51/+62
2025-09-17Merge pull request #20682 from A4-Tacks/fix-change-vis-applicable-on-variantShoyu Vanilla (Flint)-0/+14
Fix applicable on variant field for change_visibility
2025-09-17Fix applicable on variant field for change_visibilityA4-Tacks-0/+14
Enum variant fields do not allow visibility Example --- ```rust enum Foo { Variant($0String), } ``` **Before this PR**: ```rust enum Foo { Variant(pub(crate) String), } ``` **After this PR**: Assist not applicable
2025-09-17Merge pull request #20583 from btj/comments-enableChayim Refael Friedman-18/+156
Add `rust-analyzer.semanticHighlighting.comments.enable`