Skip to content

Commit 75e76cd

Browse files
authored
Merge pull request #140 from orium/minor-fix-tutorial
Add `--regress` example to tutorial.
2 parents 51ae2d9 + 41754bf commit 75e76cd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

TUTORIAL.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,10 @@ cargo bisect-rustc --test-dir=foo --start=2018-05-07 --end=2018-08-04
8989
```
9090

9191
By default it will run `cargo build` in the project and check whether or not
92-
it fails. In just a few steps, we find that it stopped working on
92+
it fails. You can also use the flag `--regress` to specify other common
93+
regression criteria, e.g. `--regress=ice` for internal compiler errors.
94+
95+
In out example, in just a few steps, we can we find that it stopped working on
9396
`nightly-2018-07-30`.
9497

9598
> *Note:* Consider using the `--preserve` flag to keep the downloaded
@@ -222,6 +225,8 @@ previous interactive session can be hands-free automated with this script:
222225
`foo/test.sh`:
223226
```sh
224227
#!/bin/sh
228+
229+
# Fail if we no longer get a `E0642` error:
225230
cargo check 2>&1 | grep E0642
226231
```
227232

0 commit comments

Comments
 (0)