@@ -17,10 +17,13 @@ or (to avoid cloning rustc)
1717RUST_SRC_REPO=/path/to/rust cargo install cargo-bisect-rustc
1818```
1919
20- The ` RUST_SRC_REPO ` should be a path to a git clone of the rust repo. If you
21- don't specify it, it will look in the current directory for ` rust.git ` or
22- check it out automatically if it's not there (only necessary if doing git hash
23- bisections).
20+ The ` RUST_SRC_REPO ` should be a path to a git clone of the rust repo.
21+ The current order how ` cargo-bisect-rustc ` finds Rust repository path is:
22+ * ` RUST_SRC_REPO ` at runtime.
23+ * ` rust.git ` in current dir at runtime.
24+ * ` RUST_SRC_REPO ` that was set at compilation time.
25+ * Clone https://github.com/rust-lang/rust automatically
26+ (only necessary if doing git hash bisections).
2427
2528First, if you have a nightly version of the compiler already installed
2629as the default toolchain and you don't pass an end flag, the tool is
@@ -40,11 +43,6 @@ So, there's a bunch of ways to run the tool, the easiest one is to
4043allow the tool to do the job and just run ` cargo bisect-rustc ` on the
4144project and let the tool figure things out.
4245
43- Note: you can also pass ` RUST_SRC_REPO ` env var, should be a path to a
44- git clone of the rust repo. If you don't specify it, it will look in the
45- current directory for ` rust.git ` or check it out automatically if it's
46- not there (only necessary if doing git hash bisections).
47-
4846## Finding a regression
4947
5048Create a cargo project that demonstrates the regression. Let's use
@@ -134,7 +132,7 @@ d75458200516f06455d175adc001fd993d674050 bors Sat Jul 28 16:44:21 2018 +0000
134132```
135133
136134and we can, for example, pick the last commit on the day before the nightly,
137- ` 6323d9a45bdf0ac2a9319a6a558537e0a7e6abd1 ` , as the start of the range, and the
135+ ` 6323d9a45bdf0ac2a9319a6a558537e0a7e6abd1 ` , as the start of the range, and the
138136last commit on the day of the nightly, ` 866a713258915e6cbb212d135f751a6a8c9e1c0a ` ,
139137as the end of the range.
140138
0 commit comments