Skip to content

Commit 89fca11

Browse files
committed
Rust: Run consistency queries and clarify statement
1 parent 8237de2 commit 89fca11

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎rust/updating-rust-analyzer.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ pkg-config`.
109109
110110
7. Update `.expected` files by running:
111111
```
112-
codeql test run --learn --search-path=rust/extractor-pack:. rust/ql/test
112+
codeql test run --learn --search-path=rust/extractor-pack:. \
113+
--consistency-queries=rust/ql/consistency-queries rust/ql/test
113114
```
114115
The search path selects the newly built extractor from step 6.
115116
@@ -125,7 +126,7 @@ pkg-config`.
125126
For each separate problem address the issue, regenerate the `.expected`
126127
files with the command from step 7, and create a commit.
127128
128-
Repeat until no `testFailures` remain and the tests pass.
129+
Repeat until no rows under `testFailures` remain and the tests pass.
129130
130131
9. If in step 5 the schema was updated, add upgrade/downgrade scripts and a
131132
change note. This is best done last to reduce the chance of merge conflicts

0 commit comments

Comments
 (0)