Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upBisecting errors against PRs #78
Comments
This comment has been minimized.
This comment has been minimized.
|
(Is this on topic for this guide? Maybe too far astray? Maybe better for forge? I'm not really sure.) |
This comment has been minimized.
This comment has been minimized.
|
The current (possibly broken, I haven't used it in a while) tooling that I know of to do this is https://github.com/Mark-Simulacrum/bisect-rust. However, I have had some thoughts about changing to just using normal |
This comment has been minimized.
This comment has been minimized.
|
I think this could go in the "debugging the compiler" section |
This comment has been minimized.
This comment has been minimized.
est31
commented
Mar 8, 2018
|
Usually it looks like this for me:
|
This comment has been minimized.
This comment has been minimized.
|
While we're talking about tools, it'd be nice for the same tool to support nightlies too (and, in an ideal world, building from source). |
This comment has been minimized.
This comment has been minimized.
est31
commented
Mar 8, 2018
|
I've never built from source in my bisection work. I've always pinged the most suspicious looking person and then left it to them to nail stuff down further :). But yeah support for nightlies as well would be great (as we delete older builds now) |
This comment has been minimized.
This comment has been minimized.
|
@est31 Would you mind adding this to the "Debugging the compiler" chapter? |
mark-i-m
added
help wanted
Medium
labels
Mar 21, 2018
petrochenkov
referenced this issue
Aug 8, 2018
Closed
Wildcard imports do not seem to propagate as expected for tuple-like struct types having at least one non-pub field #53140
mark-i-m
referenced this issue
Oct 13, 2018
Open
"Standard library (libstd, liballoc, libcore, libtest) guide" #123
This comment has been minimized.
This comment has been minimized.
|
I've written a tutorial on how to bisect PR's here: https://github.com/rust-lang-nursery/cargo-bisect-rustc/blob/master/TUTORIAL.md |
This comment has been minimized.
This comment has been minimized.
|
@ehuss Great :) Are you looking to move it to the book? |
This comment has been minimized.
This comment has been minimized.
|
That's up to @Mark-Simulacrum. I would think it will be easier to maintain in its own repo, in case things change. Perhaps a small paragraph directing people to the tool would be sufficient? Maybe something like this in the debugging chapter: Narrowing RegressionsThe cargo-bisect-rustc tool can be used as a quick and easy way to find exactly which PR caused a change in |
This comment has been minimized.
This comment has been minimized.
|
I'm happy with anything! No Rust team currently maintains cargo-bisect-rustc and I myself only have time to review pull requests currently but I think we can link to it despite both of these. Generally linking the tutorial is I think a better approach so that it stays more up to date, though. |
This comment has been minimized.
This comment has been minimized.
|
opened #216 let me know what you think |
nikomatsakis commentedMar 7, 2018
One of the best way of figuring out the cause of a regression is bisecting against the PRs that have landed recently. There are a number of folks (cc'd below) who do this from time to time -- I'm not really sure what wizardry they use to do it, but I'd love to see it documented!
cc @Mark-Simulacrum, @kennytm, @TimNN, @est31