-
Notifications
You must be signed in to change notification settings - Fork 57
add timeout functionality for bisecting hangs #135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this PR. It works fine for me, expect the typo here.
src/toolchains.rs
Outdated
cmd | ||
} | ||
(None, Some(timeout)) => { | ||
// let mut cmd = Command::new("cargo"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this?
Leaving this up to @ehuss |
Thanks! I removed the stray comment and resolved the FIXME and squashed the commits. This probably won't work on Windows, so if someone wants to follow up with a different solution, that is always an option. |
Superb, thanks everybody! |
This is in response to #84. In addition to all the tests still running, I've manually tested it by using it trying to bisect rust-lang/rust#75860 and it seemed to work fine there. Seeing as it's a very small change I'm assuming that that is sufficient, but if more is needed, please let me know.
Couple of things to mention:
std::process::Command
and Windows also has a similar functinality I'm assuming that that will be sorted out automaticallyHope this helps, If there is anything that's missing, please let me know!