mirror of
https://github.com/rust-lang/rust.git
synced 2026-03-23 15:45:23 +00:00
internal: overhaul code generation
* Keep codegen adjacent to the relevant crates. * Remove codgen deps from xtask, speeding-up from-source installation. This regresses the release process a bit, as it now needs to run the tests (and, by extension, compile the code).
This commit is contained in:
@@ -325,6 +325,8 @@ In particular, we generate:
|
||||
|
||||
* Documentation tests for assists
|
||||
|
||||
See the `sourcegen` crate for details.
|
||||
|
||||
**Architecture Invariant:** we avoid bootstrapping.
|
||||
For codegen we need to parse Rust code.
|
||||
Using rust-analyzer for that would work and would be fun, but it would also complicate the build process a lot.
|
||||
|
||||
Reference in New Issue
Block a user