-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Figure out how to force cargo fix
to run
#5736
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
Comments
killercup
added a commit
to killercup/cargo
that referenced
this issue
Jul 24, 2018
Assume you run `cargo fix` and only get warnings that cannot be fixed. Then, without changing the code, you run `cargo fix` again. The compiler will see that no files have changed and output… nothing. This is very confusing to the end user. To mitigate this, we now `touch` the entry point files to trick rustc/cargo into emitting the same warnings again. This is a fix but a very "WIP" one for rust-lang#5736
Bumping this to the RC1 milestone |
ping @killercup are you still planning to work on this? |
I sort of forget the original rationale for this, but one articulation of a use case is:
The second |
Looks like #5944 might be doing the trick. |
bors
added a commit
that referenced
this issue
Aug 31, 2018
Force `cargo fix` to rebuild Fixes #5736 This is a resubmit of @killercup's #5750, rebased on current master. @alexcrichton From browsing the code I feel like `-p` would still restrict the packages to rebuild, despite the rebuild flag added. But I might be misreading or not-fully-reading the code. Could you give me some mentoring instructions for the test cases you're concerned with?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Moved over from rust-lang/rustfix#79, I hear @killercup has a fix in mind!
The text was updated successfully, but these errors were encountered: