Skip to content

Commit 9a96372

Browse files
committed
Rust: Add some more details.
1 parent a9a0cb9 commit 9a96372

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rust/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ installing [`cargo-edit`](https://crates.io/crates/cargo-edit) with `cargo insta
7878
```
7979
git commit -am 'Cargo: upgrade dependencies' --no-verify
8080
```
81-
4. Regenerate vendored bazel files, commit the changes:
81+
4. Regenerate vendored bazel files (these allow faster builds, particularly on CI where it has to start from scratch each time), commit the changes:
8282
```
8383
misc/bazel/3rdparty/update_tree_sitter_extractors_deps.sh
8484
git add .
@@ -101,6 +101,7 @@ installing [`cargo-edit`](https://crates.io/crates/cargo-edit) with `cargo insta
101101
* in `codeql`, update both `RUST_VERSION` in `MODULE.bazel` _and_ `rust-toolchain.toml` files. You may want to also update the
102102
nightly toolchain in `rust/extractor/src/nightly-toolchain/rust-toolchain.toml` to a more recent date while you're at it.
103103
* if it fails while compiling rust extractor code, you will need to adapt it to the new library version.
104+
* for example updating annotations in `annotations.py`, adding / removing generated tests.
104105

105106
If you had to do any changes, commit them. If you updated the rust toolchain, running `rust/lint.py` might reformat or apply new
106107
lints to the code.

0 commit comments

Comments
 (0)