From 1eb61203b725684fd2c7e25ac7e2d53eef10c64c Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 8 Mar 2021 21:13:15 +0300 Subject: Make `code generation` just work Contributors don't need to learn about `cargo xtask codegen` if `cargo test` just does the right thing. --- docs/dev/architecture.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/dev/architecture.md b/docs/dev/architecture.md index ead12616e..0a3fd4285 100644 --- a/docs/dev/architecture.md +++ b/docs/dev/architecture.md @@ -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: -- cgit v1.2.3