about summary refs log tree commit diff
path: root/src/tools
AgeCommit message (Collapse)AuthorLines
2025-06-25Remove `mut`Jakub Beránek-2/+2
2025-06-25Skip more dist componentsJakub Beránek-0/+5
2025-06-25Skip unnecessary components in x64 try buildsJakub Beránek-4/+22
2025-06-25Merge pull request #20096 from lnicola/silence-rustfmt-failedLukas Wirth-11/+8
internal: Don't show notifications on failed rustfmt calls
2025-06-25Adjust minicore for Sized Hierarchy changesLukas Wirth-52/+75
2025-06-25Don't show notifications on failed rustfmt callsLaurențiu Nicola-11/+8
2025-06-25Drop rustc workspace loading error, if we don't needs its sourcesLukas Wirth-10/+28
2025-06-25Merge pull request #20088 from Veykril/push-qrslvzzlqqozLukas Wirth-107/+110
De-arc trait items query
2025-06-25Merge pull request #20077 from markpots5/masterLukas Wirth-3/+60
feat: Extend vscode 'run' command with optional mode argument for run…
2025-06-25Merge pull request #20084 from ShoyuVanilla/fix-windows-cancel-parLukas Wirth-0/+4
ci: Fix cancel parallel jobs on windows
2025-06-25De-arc trait items queryLukas Wirth-107/+110
2025-06-25Auto merge of #142997 - workingjubilee:rollup-6lxec87, r=workingjubileebors-3/+24
Rollup of 15 pull requests Successful merges: - rust-lang/rust#135731 (Implement parsing of pinned borrows) - rust-lang/rust#138780 (Add `#[loop_match]` for improved DFA codegen) - rust-lang/rust#142453 (Windows: make `read_dir` stop iterating after the first error is encountered) - rust-lang/rust#142633 (Error on invalid signatures for interrupt ABIs) - rust-lang/rust#142768 (Avoid a bitcast FFI call in transmuting) - rust-lang/rust#142825 (Port `#[track_caller]` to the new attribute system) - rust-lang/rust#142844 (Enable short-ice for Windows) - rust-lang/rust#142934 (Tweak `-Zmacro-stats` measurement.) - rust-lang/rust#142955 (Couple of test suite fixes for cg_clif) - rust-lang/rust#142977 (rustdoc: Don't mark `#[target_feature]` functions as ⚠) - rust-lang/rust#142980 (Reduce mismatched-lifetime-syntaxes suggestions to MaybeIncorrect) - rust-lang/rust#142982 (Corrected spelling mistake in c_str.rs) - rust-lang/rust#142983 (Taint body on invalid call ABI) - rust-lang/rust#142988 (Update wasm-component-ld to 0.5.14) - rust-lang/rust#142993 (Update cargo) r? `@ghost` `@rustbot` modify labels: rollup
2025-06-25Fix link in the bookChayim Refael Friedman-3/+2
2025-06-24Rollup merge of #142993 - ehuss:update-cargo, r=ehussJubilee-0/+0
Update cargo 2 commits in 84709f085062cbf3c51fa507527c1b2334015178..409fed7dc1553d49cb9a8c0637d12d65571346ce 2025-06-22 23:58:39 +0000 to 2025-06-23 15:55:04 +0000 - Fix potential deadlock in `CacheState::lock` (rust-lang/cargo#15698) - feat(toml): Parse support for multiple build scripts (rust-lang/cargo#15630)
2025-06-24Rollup merge of #142988 - alexcrichton:update-wasm-component-ld, ↵Jubilee-1/+2
r=Mark-Simulacrum Update wasm-component-ld to 0.5.14 This brings in a few updates to the bundled `wasm-component-ld` dependency used by the `wasm32-wasip2` target. This primarily includes support for upcoming component model async/WASIp3 support which will be convenient to have native support for a few months from now.
2025-06-24Rollup merge of #142825 - jdonszelmann:track-caller, r=oli-obkJubilee-2/+3
Port `#[track_caller]` to the new attribute system r? ``@oli-obk`` depends on https://github.com/rust-lang/rust/pull/142493 Closes rust-lang/rust#142783 (didn't add a test for this, this situation should simply never come up again, the code was simply wrong. lmk if I should add it, but it won't test something very useful)
2025-06-24Rollup merge of #135731 - frank-king:feature/pin-borrow, r=eholk,traviscrossJubilee-0/+19
Implement parsing of pinned borrows This PR implements part of #130494. EDIT: It introduces `&pin mut $place` and `&pin const $place` as sugars for `std::pin::pin!($place)` and its shared reference equivalent, except that `$place` will not be moved when borrowing. The borrow check will be in charge of enforcing places cannot be moved or mutably borrowed since being pinned till dropped. ### Implementation steps: - [x] parse the `&pin mut $place` and `&pin const $place` syntaxes - [ ] borrowck of `&pin mut|const` - [ ] support autoref of `&pin mut|const` when needed
2025-06-25submodule updateKaran Janthe-0/+0
Signed-off-by: Karan Janthe <karanjanthe@gmail.com>
2025-06-25Auto merge of #140999 - hkBst:update-escaper, r=nnethercotebors-4/+5
update to literal-escaper 0.0.4 for better API without `unreachable` and faster string parsing This is the replacement for just the part of https://github.com/rust-lang/rust/pull/138163 dealing with the changed API of unescape functionality, since that got moved into its own crate. <del>This uses an unpublished version of literal-escaper (https://github.com/rust-lang/literal-escaper/pull/8).</del> r? `@nnethercote`
2025-06-24Update cargoEric Huss-0/+0
2025-06-24Update wasm-component-ld to 0.5.14Alex Crichton-1/+2
This brings in a few updates to the bundled `wasm-component-ld` dependency used by the `wasm32-wasip2` target. This primarily includes support for upcoming component model async/WASIp3 support which will be convenient to have native support for a few months from now.
2025-06-24fix clippyJana Dönszelmann-2/+3
2025-06-24Avoid exporting panic_unwind as stdlib cargo featurebjorn3-1/+1
There is already panic-unwind to enable it.
2025-06-24Add all rustc_std_internal_symbol to symbols.objorn3-0/+1
rustc_std_internal_symbol is meant to call functions from crates where there is no direct dependency on said crate. As they either have to be added to symbols.o or rustc has to introduce an implicit dependency on them to avoid linker errors. The latter is done for some things like the panic runtime, but adding these symbols to symbols.o allows removing those implicit dependencies.
2025-06-24Auto merge of #142959 - bjorn3:sync_cg_clif-2025-06-24, r=bjorn3bors-0/+3
Subtree sync for rustc_codegen_cranelift The main highlight this time is a Cranelift update. r? `@ghost` `@rustbot` label +A-codegen +A-cranelift +T-compiler
2025-06-24Short circuit a couple hir-ty/lower queriesLukas Wirth-15/+40
2025-06-24ci: Fix cancel parallel jobs on windowsShoyu Vanilla-0/+4
2025-06-24Rollup merge of #142843 - dpaoliello:reproducible-build-2, r=jieyouxuGuillaume Gomez-1/+7
Enable reproducible-build-2 for Windows MSVC Works with MSVC if instructing the linker to avoid timestamps and deleting the PDB between compilations. Addresses item in rust-lang/rust#128602 --- try-job: x86_64-mingw-* try-job: x86_64-msvc-* try-job: i686-msvc-*
2025-06-24Rollup merge of #142704 - tgross35:remove-concat_idents, r=fee1-deadGuillaume Gomez-3/+1
Remove the deprecated unstable `concat_idents!` macro In [rust-lang/rust#137653], the lang and libs-API teams did a joint FCP to deprecate and eventually remove the long-unstable `concat_idents!` macro. The deprecation is landing in 1.88, so do the removal here (target version 1.90). This macro has been superseded by the more recent `${concat(...)}` metavariable expression language feature, which avoids some of the limitations of `concat_idents!`. The metavar expression is unstably available under the [`macro_metavar_expr_concat`] feature. History is mildly interesting here: `concat_idents!` goes back to 2011 when it was introduced with 513276e595f8 ("Add #concat_idents[] and #ident_to_str[]"). The syntax looks a bit different but it still works about the same: let asdf_fdsa = "<.<"; assert(#concat_idents[asd,f_f,dsa] == "<.<"); assert(#ident_to_str[use_mention_distinction] == "use_mention_distinction"); (That test existed from introduction until its removal here.) Closes: https://github.com/rust-lang/rust/issues/29599 [rust-lang/rust#137653]: https://github.com/rust-lang/rust/pull/137653 [`macro_metavar_expr_concat`]: https://github.com/rust-lang/rust/issues/124225
2025-06-24Update tidy exceptionsbjorn3-0/+3
2025-06-24Move some `issues-*` tests to better homesTrevor Gross-3/+1
These tests were updated in the previous commit; while they are being cleaned up, move them to a non-issue directory.
2025-06-24Remove special casing in command factory (revert changes in ctx.ts), update ↵Mark Pots-12/+3
main.createCommands instead
2025-06-24Rollup merge of #140622 - petrochenkov:annusexp, r=jieyouxuGuillaume Gomez-76/+159
compiletest: Improve diagnostics for line annotation mismatches When some line annotations are missing or misplaced, compiletest reports an error, but the error is not very convenient. This PR attempts to improve the user experience. - The "expected ... not found" messages are no longer duplicated. - The `proc_res.status` and `proc_res.cmdline` message is no longer put in the middle of other messages describing the annotation mismatches, it's now put into the end. - Compiletest now makes suggestions if there are fuzzy matches between expected and actually reported errors (e.g. the annotation is put on a wrong line). - Missing diagnostic kinds are no longer produce an error eagerly, but instead treated as always mismatching kinds, so they can produce suggestions telling the right kind. I'll post screenshots in the thread below, but the behavior shown on the screenshots can be reproduced locally using the new test `tests/ui/compiletest-self-test/line-annotation-mismatches.rs`. This also fixes https://github.com/rust-lang/rust/issues/140940. r? ``@jieyouxu``
2025-06-24Merge pull request #20012 from lnicola/bump-literal-escaperLukas Wirth-169/+139
Update to literal-escaper 0.0.4
2025-06-24Merge pull request #20080 from Veykril/push-vnrwqppplykmLukas Wirth-39/+60
Cleanup `folding_ranges` and support more things
2025-06-24Cleanup `folding_ranges` and support more thingsLukas Wirth-39/+60
2025-06-24Merge pull request #20061 from ChayimFriedman2/wrap-ret-tyLukas Wirth-34/+133
fix: In "Wrap return type" assist, don't wrap exit points if they already have the right type
2025-06-24Merge pull request #20064 from Wilfred/document_sysroot_projectLukas Wirth-0/+3
Document sysroot_project field in rust-project.json
2025-06-24Merge pull request #20036 from Veykril/push-yquvoyrxkksxLukas Wirth-70/+70
Do not default to 'static for trait object lifetimes
2025-06-24Do not default to 'static for trait object lifetimesLukas Wirth-70/+70
We lack trait object default lifetime elision, so `'static` can be wrong at times, confusing the user
2025-06-24Merge pull request #20062 from ChayimFriedman2/doctestsLukas Wirth-0/+32
minor: Don't run doctests
2025-06-24Merge pull request #20072 from Veykril/push-sorvvvzskywvLukas Wirth-10/+44
fix: Respect `.cargo/config.toml` `build.target-dir`
2025-06-23Enable reproducible-build-2 for WindowsDaniel Paoliello-1/+7
2025-06-23Rollup merge of #142908 - psumbera:solaris-tr, r=jieyouxuJubilee-4/+4
Fix install-template.sh for Solaris tr Allow to run install.sh also on Solaris where tr is not GNU tr.
2025-06-23Rollup merge of #142827 - GuillaumeGomez:tidy-error-code-removal, r=KobzolJubilee-46/+103
Move error code explanation removal check into tidy Follow-up of https://github.com/rust-lang/rust/pull/142677. This PR replaces a shell script with rust code. r? ghost
2025-06-23feat: Extend vscode 'run' command with optional mode argument for running ↵Mark Pots-4/+70
test(s) or bin at keyboard cursor
2025-06-23compiletest: Improve diagnostics for line annotation mismatchesVadim Petrochenkov-76/+159
2025-06-23Merge pull request #20076 from ChayimFriedman2/faqLaurențiu Nicola-0/+12
docs: Add troubleshooting FAQ to the book
2025-06-23Add troubleshooting FAQ to the bookChayim Refael Friedman-0/+12
And one frequently asked question.
2025-06-23fix: Respect `.cargo/config.toml` `build.target-dir`Lukas Wirth-10/+44