about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/xtask
AgeCommit message (Collapse)AuthorLines
2025-01-06minor: New clippy lintsLukas Wirth-1/+1
2024-12-30Add a function to convert a SyntaxKind to its text, where possibleChayim Refael Friedman-0/+16
This will also help for the make's quote macro.
2024-12-30Generate a method for static retrieval of the SyntaxKind of a node, where ↵Chayim Refael Friedman-0/+7
possible This will help for the quote macro for `ast::make`.
2024-12-29Enforce a current directory being set for spawned commandsLukas Wirth-1/+6
2024-12-20internal: Split serde derive feature into `serde_derive` usageLukas Wirth-1/+2
Ideally we'd not have any dependency pull in the derive feature for faster build times, once that is the case this change would have an actual effect. See https://github.com/matklad/macro-dep-test/blob/master/README.md for context.
2024-12-11Properly handle different defaults for severity of lintsChayim Refael Friedman-77/+304
Previously all lints were assumed to be `#[warn]`, and we had a hand-coded list of `#[allow]` exceptions. Now the severity is autogenerated from rustdoc output. Also support lints that change status between editions, and the `warnings` lint group.
2024-11-01Bump rustc cratesLaurențiu Nicola-1/+0
2024-10-28Merge pull request #18074 from ChayimFriedman2/typeref-source-mapLukas Wirth-1/+1
internal: Build source map for `hir_def::TypeRef`s
2024-10-28Merge pull request #18412 from lnicola/windows-no-gzLaurențiu Nicola-1/+2
internal: Stop producing .gz artifacts for Windows
2024-10-25Stop producing .gz artifacts for WindowsLaurențiu Nicola-1/+2
2024-10-25Shrink `Path` to 16 bytesChayim Refael Friedman-1/+1
Thanks to the observation (supported by counting) that the vast majority paths have neither generics no type anchors, and thanks to a new datastructure `ThinVecWithHeader` that is essentially `(T, Box<[U]>)` but with the size of a single pointer, we are able to reach this feat. This (together with `ThinVecWithHeader`) makes the possibility to shrink `TypeRef`, because most types are paths.
2024-10-24Update changelog generation for merge queuesLaurențiu Nicola-2/+3
2024-10-22Fix new nightly lintsLukas Wirth-2/+2
2024-10-21fix: classify `safe` as a contextual kwroife-1/+1
2024-10-14chore: rename salsa to ra_salsaDavid Barsky-1/+1
2024-09-04Parse builtin#asm expressionsLukas Wirth-10/+57
2024-08-30Allow xtask::reformat to work without rustupLukas Wirth-18/+26
2024-08-30Revert "fix: do not assume rustup is installed in xtask codegen"Lukas Wirth-19/+15
This reverts commit 7d9e4fcc07e5de94e37b73436147cdbbaa35dbdc.
2024-08-27fix: do not assume rustup is installed in xtask codegenIvar Scholten-15/+19
When formatting generated code the xtask crate attempts to run `rustup run stable rustfmt`, which fails if `rustup` is not installed. This results in test failures when another source manages the compiler toolchain, for example when using Nix (or any other distro-specific packaging solution): * xtask::codegen::grammar::test * xtask::codegen::assists_doc_tests::test With this commit xtask will first attempt to run `rustup run stable rustfmt`, and if that fails just plain `rustfmt`. It still validates a stable version is being used. This allows `cargo test` to pass on systems that do not use `rustup`.
2024-08-15internal: Properly check the edition for edition dependent syntax kindsLukas Wirth-29/+158
2024-08-12Allow new license combinationLukas Wirth-0/+1
2024-08-05minor: Fix metrics not runningLukas Wirth-5/+1
2024-08-01when josh-proxy screws up the roundtrip, say what the involved commits areRalf Jung-1/+4
2024-07-25Generate From impls for Any* nodesLukas Wirth-1/+10
2024-07-19Fix edition used for include macro parsingLukas Wirth-2/+2
2024-07-19Auto merge of #17620 - Veykril:edition-aware-parser, r=Veykrilbors-51/+148
Edition aware parser Fixes https://github.com/rust-lang/rust-analyzer/issues/16324 by allowing us to properly thread through the edition to the parser
2024-07-19Add basic edition inline parser test supportLukas Wirth-19/+54
2024-07-19Make xtask install work againLaurențiu Nicola-2/+2
2024-07-18Rewrite inline parser test infra to generated proper rust test casesLukas Wirth-54/+116
2024-07-17string is not a keywordLukas Wirth-0/+1
2024-07-17Add always disabled gen parse supportLukas Wirth-2/+4
2024-07-17Derive kinds information from ungrammar fileLukas Wirth-260/+181
2024-07-15Add cargo xtask install proc-macro-serverLukas Wirth-3/+29
2024-07-07Inline all the thingsLukas Wirth-0/+13
2024-07-07HasGenericArgs syntax traitLukas Wirth-12/+13
2024-07-07Run codegen commands as tests if their results are commitedLukas Wirth-0/+20
2024-07-07Re-implement tidy as an xtask actionLukas Wirth-37/+390
2024-07-07re-generate feature docs in releaseLukas Wirth-1/+2
2024-07-07Move feature-doc generation to xtask codegenLukas Wirth-0/+89
2024-07-07Move parser test generation to xtaskLukas Wirth-7/+164
2024-07-07Fix stop_watch on linuxLukas Wirth-12/+26
2024-07-07Update generated lint definitionsLukas Wirth-9/+11
2024-07-03Fix up the syntax tree for macro 2.0Lukas Wirth-0/+2
2024-06-30SimplifyLukas Wirth-3/+2
2024-06-22Remove Changelog: XXX title from Github release notesLaurențiu Nicola-0/+9
2024-06-08fix: Fix generated markers not being patchable in package.jsonLukas Wirth-5/+2
2024-06-04Update dist.rsChosenName-2/+5
2024-05-30style: simplify string interpolationHamir Mahal-1/+1
2024-04-27add no-new-root check to josh pullRalf Jung-0/+13
2024-04-21Use josh for subtree syncsLaurențiu Nicola-0/+4299