mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
Make code generation
just work
Contributors don't need to learn about `cargo xtask codegen` if `cargo test` just does the right thing.
This commit is contained in:
parent
abb6b8f14c
commit
1eb61203b7
8 changed files with 42 additions and 50 deletions
|
@ -308,9 +308,8 @@ This sections talks about the things which are everywhere and nowhere in particu
|
|||
### Code generation
|
||||
|
||||
Some of the components of this repository are generated through automatic processes.
|
||||
`cargo xtask codegen` runs all generation tasks.
|
||||
Generated code is updated automatically on `cargo test`.
|
||||
Generated code is generally committed to the git repository.
|
||||
There are tests to check that the generated code is fresh.
|
||||
|
||||
In particular, we generate:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue