Skip to content

Commit 3dadf43

Browse files
committed
add blurb about downloading artifacts; fix #77x
1 parent c7cdf9f commit 3dadf43

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

src/compiler-debugging.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,4 +358,23 @@ create a minimal working example with Godbolt. Go to
358358
359359
## Narrowing (Bisecting) Regressions
360360
361-
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.
361+
The [cargo-bisect-rustc][bisect] tool can be used as a quick and easy way to
362+
find exactly which PR caused a change in `rustc` behavior. It automatically
363+
downloads `rustc` PR artifacts and tests them against a project you provide
364+
until it finds the regression. You can then look at the PR to get more context
365+
on *why* it was changed. See [this tutorial][bisect-tutorial] on how to use
366+
it.
367+
368+
[bisect]: https://github.com/rust-lang-nursery/cargo-bisect-rustc
369+
[bisect-tutorial]: https://github.com/rust-lang-nursery/cargo-bisect-rustc/blob/master/TUTORIAL.md
370+
371+
## Downloading Artifacts from Rust's CI
372+
373+
The [rustup-toolchain-install-master][rtim] tool by kennytm can be used to
374+
download the artifacts produced by Rust's CI for a specific SHA1 -- this
375+
basically corresponds to the successful landing of some PR -- and then sets
376+
them up for your local use. This also works for artifacts produced by `@bors
377+
try`. This is helpful when you want to examine the resulting build of a PR
378+
without doing the build yourself.
379+
380+
[rtim]: https://github.com/kennytm/rustup-toolchain-install-master

0 commit comments

Comments
 (0)