diff options
| author | Aleksey Kladov <aleksey.kladov@gmail.com> | 2021-07-03 22:11:03 +0300 |
|---|---|---|
| committer | Aleksey Kladov <aleksey.kladov@gmail.com> | 2021-07-03 22:11:03 +0300 |
| commit | 58d2ece88a17030668e09e4aade7bb2ed27dcaac (patch) | |
| tree | 38ffd8178f472d0154c02ed111b4a980fe087edc /docs/dev/architecture.md | |
| parent | 668d0612452913624ef8aa4f17d7fef9ac08a75f (diff) | |
| download | rust-58d2ece88a17030668e09e4aade7bb2ed27dcaac.tar.gz rust-58d2ece88a17030668e09e4aade7bb2ed27dcaac.zip | |
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).
Diffstat (limited to 'docs/dev/architecture.md')
| -rw-r--r-- | docs/dev/architecture.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/dev/architecture.md b/docs/dev/architecture.md index 721c555ab63..663d6392274 100644 --- a/docs/dev/architecture.md +++ b/docs/dev/architecture.md @@ -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. |
