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:
Aleksey Kladov 2021-03-08 21:13:15 +03:00
parent abb6b8f14c
commit 1eb61203b7
8 changed files with 42 additions and 50 deletions

View file

@ -27,10 +27,6 @@ xflags::xflags! {
optional --jemalloc
}
cmd codegen {
optional --features
}
cmd lint {}
cmd fuzz-tests {}
cmd pre-cache {}
@ -67,7 +63,6 @@ pub struct Xtask {
pub enum XtaskCmd {
Help(Help),
Install(Install),
Codegen(Codegen),
Lint(Lint),
FuzzTests(FuzzTests),
PreCache(PreCache),
@ -92,11 +87,6 @@ pub struct Install {
pub jemalloc: bool,
}
#[derive(Debug)]
pub struct Codegen {
pub features: bool,
}
#[derive(Debug)]
pub struct Lint;