diff options
| author | Aleksey Kladov <aleksey.kladov@gmail.com> | 2019-10-23 18:17:24 +0300 |
|---|---|---|
| committer | Aleksey Kladov <aleksey.kladov@gmail.com> | 2019-10-23 18:57:18 +0300 |
| commit | a669049ef327db5be04f076eff83932ac1f95d91 (patch) | |
| tree | ecc21b23217780ef7ca9279694170f4359b50150 /docs/dev | |
| parent | b5f13d8d51ef9107363a60b894a741ab596921ce (diff) | |
| download | rust-a669049ef327db5be04f076eff83932ac1f95d91.tar.gz rust-a669049ef327db5be04f076eff83932ac1f95d91.zip | |
xtask: fold gen-tests and gen-ast into codegen
Diffstat (limited to 'docs/dev')
| -rw-r--r-- | docs/dev/architecture.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/dev/architecture.md b/docs/dev/architecture.md index 5ec5352e713..6fd396dee6e 100644 --- a/docs/dev/architecture.md +++ b/docs/dev/architecture.md @@ -78,7 +78,7 @@ Rust syntax tree structure and parser. See Tests for ra_syntax are mostly data-driven: `test_data/parser` contains subdirectories with a bunch of `.rs` (test vectors) and `.txt` files with corresponding syntax trees. During testing, we check `.rs` against `.txt`. If the `.txt` file is missing, it is created (this is how you update -tests). Additionally, running `cargo gen-tests` will walk the grammar module and collect +tests). Additionally, running `cargo xtask codegen` will walk the grammar module and collect all `// test test_name` comments into files inside `test_data/parser/inline` directory. See [#93](https://github.com/rust-analyzer/rust-analyzer/pull/93) for an example PR which |
