-
Notifications
You must be signed in to change notification settings - Fork 57
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
Convert to default installation of cargo and replace --with-cargo
option with --without-cargo
option
#98
Conversation
Looks good but I wonder if we do want a |
Anyone opposed to this? I'll add it this weekend if this is the only thing blocking the merge here. |
--with-cargo
option--with-cargo
option
afbdffb
to
c5e86ee
Compare
Rebased on master @ c5e86ee |
--with-cargo
option--with-cargo
option with --without-cargo
option
|
@spastorino Please let me know if there is anything else that you need for this PR. Thanks Santiago! |
if dl_params.install_cargo { | ||
// download cargo by default | ||
// deactivate with the `--without-cargo` flag | ||
// this default behavior was changed as of v0.6.0 |
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.
This line assumes a v0.6.0 release with the current changes if this PR is acceptable.
Closes #81
Also see the discussion in https://rust-lang.zulipchat.com/#narrow/stream/217417-t-compiler.2Fcargo-bisect-rustc/topic/unrecognized.20option.20json
This PR converts the
--with-cargo
optional behavior to default behavior to addressUnrecognized option: 'json'
errors in tests as bisection proceeds back in time past a defined date (I believe that this is ~ July 2019'ish era). The current default leads to incorrect automated detection of the regression commit due to this error. These changes also remove the--with-cargo
option.Edit: @spastorino recommended the addition of the
--without-cargo
flag to disable the cargo install in #98 (comment). This change was added in 2b7088c