about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/xtask
AgeCommit message (Collapse)AuthorLines
2025-09-15Port a bunch of stuff from rustc and fix a bunch of type mismatches/diagnosticsChayim Refael Friedman-0/+9
This started from porting coercion, but ended with porting much more.
2025-08-13Don't panic if unable to identify host in metricsjackh726-2/+6
2025-08-13Merge pull request #20376 from fee1-dead/traitaliasLukas Wirth-1/+0
Merge Trait and TraitAlias handling
2025-08-13Fix metrics checking out repos into toplevel folder instead of `target`Lukas Wirth-8/+12
2025-08-13Merge Trait and TraitAlias handlingDeadbeef-1/+0
2025-07-31`cargo clippy --fix`Lukas Wirth-75/+73
2025-07-22Remove pull/push functionality from `xtask`Jakub Beránek-206/+0
2025-07-09Differentiate between `asm!()`, `global_asm!()` and `naked_asm!()`, and make ↵Chayim Refael Friedman-0/+2
only `asm!()` unsafe
2025-06-13`cargo upgrade`Lukas Wirth-3/+3
2025-05-31fix: Fix manual not containing diagnostics documentationLukas Wirth-2/+2
2025-05-20Merge from rust-lang/rustLaurențiu Nicola-0/+1
2025-05-16Bump zip to 3.0Laurențiu Nicola-1/+1
2025-05-06Rollup merge of #140035 - fee1-dead-contrib:push-oszwkkvmpkks, ↵Stuart Cook-0/+1
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-05Implement RFC 3503: frontmattersDeadbeef-0/+1
Supercedes #137193
2025-04-29Update salsaLukas Wirth-1/+1
2025-04-29Merge pull request #19685 from fbernier/pgo-installLukas Wirth-132/+175
Add PGO support to install
2025-04-28Add expression fill mode variant for filling with underscore expressionsLukas Wirth-3/+3
2025-04-25Add PGO support to installFrançois Bernier-132/+175
Enable PGO optimizations when installing rust-analyzer with the --pgo flag. This mirrors functionality already available in dist command, allowing developers to create optimized local builds. Example: cargo xtask install --server --pgo clap-rs/clap PGO code has been extracted to a dedicated module for reuse.
2025-04-18Support specific revisions for pgoLaurențiu Nicola-6/+14
2025-04-15Use `-q` to silence RA outputJakub Beránek-3/+1
2025-04-15Allow passing a specific crate for PGO trainingJakub Beránek-8/+50
2025-04-15Fix `llvm-profdata` extension on non Linux OSesJakub Beránek-1/+1
2025-04-14Add `xdist dist --pgo` command to build Rust Analyzer with PGO optimizationsJakub Beránek-6/+98
2025-04-09Merge pull request #19462 from Veykril/push-ypvprvvwkyllLukas Wirth-2/+11
refactor: Lower type-refs before type inference
2025-04-09refactor: Lower type-refs before type inferenceLukas Wirth-2/+11
This refactors how we deal with items in hir-def lowering. - It now lowers all of them through an "ExpressionStore" (kind of a misnomer as this point) as their so called *Signatures. - We now uniformly lower type AST into TypeRefs before type inference. - Likewise, this moves macro expansion out of type inference, resulting in a single place where we do non-defmap macro expansion. - Finally, this PR removes a lot of information from ItemTree, making the DefMap a lot less likely to be recomputed and have it only depend on actual early name resolution related information (not 100% true, we still have ADT fields in there but thats a follow up removal).
2025-04-07Merge pull request #19511 from snprajwal/fixmesLukas Wirth-32/+28
chore: clean up some FIXMEs
2025-04-04prefer default over newBenjaminBrienen-5/+7
2025-04-04chore: clean up some FIXMEsPrajwal S N-32/+28
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
2025-03-25ci: Require miri stepLukas Wirth-1/+1
2025-03-23Use zip/deflate-flate2 to avoid BSL-1.0 depLaurențiu Nicola-1/+1
2025-03-23chore: Bump dependenciesLukas Wirth-10/+10
2025-03-21refactor: Reduce codegen burden for `SyntaxNode` and `SyntaxToken`Lukas Wirth-7/+84
2025-03-21refactor: Reduce codegen burden for `SyntaxKind`Lukas Wirth-5/+46
2025-03-17fix(codegen): do not generate docs with `--check`Prajwal S N-7/+18
Running `cargo codegen --check` should not generate any mdbook files, since they are ignored in the repo and used only while releasing a new copy of the documentation. Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
2025-03-15cargo xtask tidyBenjaminBrienen-1/+1
2025-03-15cargo fmtBenjaminBrienen-37/+39
2025-03-15edition = "2024"BenjaminBrienen-1/+1
2025-03-15chore: Drop legacy salsaLukas Wirth-2/+1
2025-03-10internal: port rust-analyzer to new SalsaDavid Barsky-3/+2
2025-03-10internal: vendor `query-group-macro`David Barsky-0/+1
2025-02-26Use cargo zigbuild for releasesLaurențiu Nicola-10/+24
2025-02-23Fix codegen of parser inline tests runnerniller-g-57/+55
When running `cargo codegen` the `crates/parser/test_data/generated/runner.rs` file is only updated when some file in `crates/parser/test_data/inline` changes. However this is not sufficient in all cases
2025-02-23Fix parser inline tests codegen panicsniller-g-13/+10
When running `cargo codegen` the cwd="rust-analyzer" however when running `cargo test` the cwd="rust-analyzer/xtask" which makes the codegen panic
2025-02-19missed the L for the line numberJosh Rotenberg-1/+1
2025-02-19Merge pull request #19180 from joshrotenberg/fix-source-file-urlLukas Wirth-1/+7
doc: use fully qualified url for source path
2025-02-18use fully qualified url for source pathJosh Rotenberg-1/+7
2025-02-18Fix dead linkBenjamin Brienen-1/+1
2025-02-17move dev docs to manualJosh Rotenberg-2/+3
fix formatting
2025-02-11manual: Fix URLs to rustdoc pagesWilfred Hughes-1/+1
Now that the manual lives at /manual/, we need to use absolute URLs to link to rustdoc content.
2025-02-05Bump proc-macro2 in xtaskLukas Wirth-2/+4