Rust: Apply suggestions from code review

Co-authored-by: Simon Friis Vindum <simonfv@gmail.com>
This commit is contained in:
Paolo Tranquilli
2025-01-22 14:56:56 +01:00
committed by GitHub
parent 7c0409da35
commit bd2e8195c2

View File

@@ -48,17 +48,17 @@ TODO
### Code Generation
If you do changes to either
* `ast-generator`, or
If you make changes to either
* `ast-generator/`, or
* `schema/*.py`
you'll need to regenerate code. You can do so running
```bash
```sh
bazel run @codeql//rust/codegen
```
Sometimes, especially if resolving conflicts on generated files, you might need to run
```bash
```sh
bazel run @codeql//rust/codegen -- --force
```
for code generation to succeed.