about summary refs log tree commit diff
path: root/docs/dev/architecture.md
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2021-07-03 22:11:03 +0300
committerAleksey Kladov <aleksey.kladov@gmail.com>2021-07-03 22:11:03 +0300
commit58d2ece88a17030668e09e4aade7bb2ed27dcaac (patch)
tree38ffd8178f472d0154c02ed111b4a980fe087edc /docs/dev/architecture.md
parent668d0612452913624ef8aa4f17d7fef9ac08a75f (diff)
downloadrust-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.md2
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.