about summary refs log tree commit diff
path: root/src/tools
AgeCommit message (Collapse)AuthorLines
2025-05-06Merge pull request #19721 from ChayimFriedman2/more-parallelLukas Wirth-256/+188
Better handle parallelism in cache priming
2025-05-06Notify the user that we're collecting symbolsChayim Refael Friedman-1/+10
It could be confusing if they see "Indexing n/n" but cache priming does not finish.
2025-05-06Rollup merge of #140687 - ehuss:update-mdbook, r=jieyouxuStuart Cook-3/+3
Update mdbook to 0.4.49 This is a routine update to pull in some fixes and updates. Changelog: https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md#mdbook-0449
2025-05-06Rollup merge of #140251 - Zalathar:coverage-dump-path, r=clubby789Stuart Cook-104/+279
coverage-dump: Resolve global file IDs to filenames The coverage-dump tool, used by coverage tests, currently includes “global file ID” numbers in its dump output. This PR adds support for parsing coverage filename information from LLVM assembly `.ll` files, and resolving those file IDs to the corresponding filename, for inclusion in dump output. This makes dump output more informative, especially for test cases involving multiple files, and will be important for testing expansion region support in the future. --- The bootstrap changes don't necessarily have to land at the same time (e.g. they could be deferred to after the stage0 redesign if requested), but I would prefer to land them now if possible.
2025-05-06Rollup merge of #140035 - fee1-dead-contrib:push-oszwkkvmpkks, ↵Stuart Cook-1/+18
r=jieyouxu,wesleywiser Implement RFC 3503: frontmatters Tracking issue: #136889 Supercedes #137193. This implements [RFC 3503](https://github.com/rust-lang/rfcs/blob/master/text/3503-frontmatter.md). This might break rust-analyzer. Will look into how to fix that. Suggestions welcome for how to improve diagnostics.
2025-05-06Rollup merge of #139773 - thaliaarchi:vec-into-iter-last, r=workingjubileeStuart Cook-7/+46
Implement `Iterator::last` for `vec::IntoIter` Avoid iterating everything when we have random access to the last element.
2025-05-06coverage-dump: Dump filenames instead of global file IDs (and bless)Zalathar-2/+1
2025-05-06coverage-dump: Make filenames available to covfun record dumpingZalathar-3/+87
Actually printing the filenames is deferred to a subsequent commit that will simultaneously bless all affected tests.
2025-05-06coverage-dump: Include filenames hash in covfun line dataZalathar-26/+101
2025-05-06coverage-dump: Extract a common parser method for maybe-compressed bytesZalathar-23/+41
2025-05-06coverage-dump: Extract some common code to an `llvm_utils` submoduleZalathar-48/+51
2025-05-06bootstrap: Add check/test/run steps for src/tools/coverage-dumpZalathar-4/+0
This also causes the coverage-dump unit tests to run in CI and `./x test` by default.
2025-05-06Auto merge of #131160 - ↵bors-31/+31
ismailarilik:handle-potential-query-instability-lint-for-rustc-middle, r=oli-obk Handle `rustc_middle` cases of `rustc::potential_query_instability` lint This PR removes `#![allow(rustc::potential_query_instability)]` line from [`compiler/rustc_middle/src/lib.rs`](https://github.com/rust-lang/rust/blob/master/compiler/rustc_middle/src/lib.rs#L29) and converts `FxHash{Map,Set}` types into `FxIndex{Map,Set}` to suppress lint errors. A somewhat tracking issue: https://github.com/rust-lang/rust/issues/84447 r? `@compiler-errors`
2025-05-05Auto merge of #140682 - GuillaumeGomez:rollup-6xjf6zn, r=GuillaumeGomezbors-1/+1
Rollup of 11 pull requests Successful merges: - #140080 (mir-opt: Use one MirPatch in MatchBranchSimplification) - #140115 (mir-opt: execute MatchBranchSimplification after GVN) - #140357 (bypass linker configuration and cross target check on `x check`) - #140374 (Resolve instance for SymFn in global/naked asm) - #140559 (Removing rustc_type_ir in the rustc_infer codebase) - #140605 (`fn check_opaque_type_parameter_valid` defer error) - #140636 (implement `PanicTracker` to track `t` panics) - #140661 (Make `-Zfixed-x18` into a target modifier) - #140670 (calculate step duration in a panic-safe way) - #140672 (Deeply normalize in the new solver in WF) - #140676 (Update books) r? `@ghost` `@rustbot` modify labels: rollup
2025-05-05Update mdbook to 0.4.49Eric Huss-3/+3
This is a routine update to pull in some fixes and updates. Changelog: https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md#mdbook-0449
2025-05-05Add a `--num-threads` to the `prime-caches` CLI commandChayim Refael Friedman-60/+61
And make it parallel by default (and remove the `--parallel` flag) to mirror the IDE cache priming.
2025-05-05Better manage parallel prime cachesChayim Refael Friedman-245/+167
To make best use of available cores, and don't waste time waiting for other tasks. See the comments in the code for explanation.
2025-05-05Support environment variable CARGO_MANIFEST_PATH.Victor-0/+17
2025-05-05Rollup merge of #140374 - compiler-errors:global_asm-bug, r=lcnrGuillaume Gomez-1/+1
Resolve instance for SymFn in global/naked asm `Instance::expect_resolve` ensures that we're actually going from trait item -> impl item. Fixes #140373
2025-05-05Auto merge of #140664 - RalfJung:miri-sync, r=RalfJungbors-1541/+1796
Miri subtree update r? `@ghost`
2025-05-05Implement RFC 3503: frontmattersDeadbeef-1/+18
Supercedes #137193
2025-05-05Merge pull request #19750 from Veykril/push-zvvsopwxovrnLukas Wirth-5/+0
fix: Remove unnecessary token length check for macros in renaming
2025-05-05Auto merge of #140651 - lnicola:sync-from-ra, r=lnicolabors-1704/+2427
Subtree update of `rust-analyzer` r? `@ghost`
2025-05-05fix: Remove unnecessary token length check for macros in renamingLukas Wirth-5/+0
2025-05-05Merge pull request #19749 from Veykril/push-tsxvxzzmlxpqLukas Wirth-56/+4
refactor: Remove unnecessary `AsAny` trait
2025-05-05Merge pull request #19748 from Veykril/push-qvmtutwtonouLukas Wirth-10/+4
github: Direct users to discussions instead of issues for questions
2025-05-05refactor: Remove unnecessary `AsAny` traitLukas Wirth-56/+4
2025-05-05github: Direct users to discussions instead of issues for questionsLukas Wirth-10/+4
2025-05-05Handle rustc_middle cases of rustc::potential_query_instability lintismailarilik-31/+31
2025-05-05fix: negative nums in `concat!` expansionVishruth-Thimmaiah-3/+36
2025-05-05Merge pull request #19747 from Veykril/push-kqxvxrxozswrLukas Wirth-18/+111
fix: Fix `move_bounds` assists not working for lifetimes
2025-05-05Rename Instance::new to Instance::new_raw and add a note that it is rawMichael Goulet-1/+1
2025-05-05Merge pull request #4310 from RalfJung/addr-space-conservationRalf Jung-8/+17
alloc_addresses: when we are running out of addresses, start reusing more aggressively
2025-05-05Merge pull request #4309 from RalfJung/both-borrows-testsRalf Jung-532/+94
move tests that are identical between SB and TB to shared files
2025-05-05fix: Fix `move_bounds` assists not working for lifetimesLukas Wirth-47/+196
2025-05-05alloc_addresses: when we are running out of addresses, start reusing more ↵Ralf Jung-8/+17
aggressively
2025-05-05consistent folder naming: stacked-borrows -> stacked_borrowsRalf Jung-6/+6
2025-05-05Merge pull request #19746 from Veykril/push-swvuyqwwplrtLukas Wirth-44/+415
fix: Fix proc-macro API creating malformed negative literals
2025-05-05fix: Fix proc-macro API creating malformed negative literalsLukas Wirth-29/+85
2025-05-05Merge pull request #4306 from yoctocell/fix-unsafecell-inside-boxRalf Jung-1/+43
Tree Borrows: Correctly handle interior mutable data in `Box`
2025-05-05move tests that are identical between SB and TB to shared filesRalf Jung-764/+326
2025-05-05minor: Add more proc-macro tests for parsing negative literalsLukas Wirth-26/+341
2025-05-05Merge pull request #19745 from Veykril/push-rnqulnqvltroLukas Wirth-0/+118
minor: Add a mbe test for parsing negative literals
2025-05-05minor: Add a mbe test for parsing negative literalsLukas Wirth-0/+118
2025-05-05Merge pull request #19740 from vishruth-thimmaiah/unwrap_path_typeLukas Wirth-0/+175
feat: add an assist to unwrap a type with a generic arg
2025-05-05feat: add an assist to unwrap a type with a generic argVishruth-Thimmaiah-0/+175
This assist unwraps a type into its generic type argument, ignoring const and lifetime arguments
2025-05-05refactor: De-arc defmap queriesLukas Wirth-455/+498
2025-05-05Merge pull request #4307 from JoJoDeveloping/remove-unique-is-uniqueRalf Jung-451/+12
Remove -Zunique-is-unique
2025-05-05Merge pull request #19742 from Veykril/push-ykmuwtkzruqmLukas Wirth-22/+303
fix: Fix incorrect handling of unresolved non-module imports in name resolution
2025-05-05Fix incorrect handling of unresolved non-module imports in name resolutionLukas Wirth-22/+303