Skip to content

Commit 2fd1248

Browse files
committed
Add a note on bisecting
1 parent 39cdd4f commit 2fd1248

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/compiler-debugging.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,3 +384,7 @@ create a minimal working example with Godbolt. Go to
384384
385385
386386
[env-logger]: https://docs.rs/env_logger/0.4.3/env_logger/
387+
388+
## Narrowing (Bisecting) Regressions
389+
390+
The [cargo-bisect-rustc](https://github.com/rust-lang-nursery/cargo-bisect-rustc) tool can be used as a quick and easy way to find exactly which PR caused a change in `rustc` behavior. It automatically downloads `rustc` PR artifacts and tests them against a project you provide until it finds the regression. You can then look at the PR to get more context on *why* it was changed. See [this tutorial](https://github.com/rust-lang-nursery/cargo-bisect-rustc/blob/master/TUTORIAL.md) on how to use it.

0 commit comments

Comments
 (0)