ci: detect trailing whitespace (#7013)

This commit is contained in:
Alice Ryhl
2024-12-04 17:23:13 +01:00
committed by GitHub
parent 0b31c2f73d
commit c032ea0203
9 changed files with 29 additions and 28 deletions
+3 -3
View File
@@ -196,7 +196,7 @@ LOOM_MAX_PREEMPTIONS=1 LOOM_MAX_BRANCHES=10000 RUSTFLAGS="--cfg loom -C debug_as
cargo test --lib --release --features full -- --test-threads=1 --nocapture
```
Additionally, you can also add `--cfg tokio_unstable` to the `RUSTFLAGS` environment variable to
run loom tests that test unstable features.
run loom tests that test unstable features.
You can run miri tests with
```
@@ -216,8 +216,8 @@ cargo install --locked cargo-spellcheck
cargo spellcheck check
```
if the command rejects a word, you should backtick the rejected word if it's code related. If not, the
rejected word should be put into `spellcheck.dic` file.
if the command rejects a word, you should backtick the rejected word if it's code related. If not, the
rejected word should be put into `spellcheck.dic` file.
Note that when you add a word into the file, you should also update the first line which tells the spellcheck tool
the total number of words included in the file