mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Rust: add instructions for codegen in README.md
This commit is contained in:
@@ -48,4 +48,17 @@ TODO
|
||||
|
||||
### Code Generation
|
||||
|
||||
TODO
|
||||
If you do changes to either
|
||||
* `ast-generator`, or
|
||||
* `schema/*.py`
|
||||
|
||||
you'll need to regenerate code. You can do so running
|
||||
```bash
|
||||
bazel run @codeql//rust/codegen
|
||||
```
|
||||
|
||||
Sometimes, especially if resolving conflicts on generated files, you might need to run
|
||||
```bash
|
||||
bazel run @codeql//rust/codegen -- --force
|
||||
```
|
||||
for code generation to succeed.
|
||||
|
||||
Reference in New Issue
Block a user