-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add --no-deps option to avoid running on path dependencies in workspaces #6188
Conversation
r? @Manishearth (rust_highfive has picked a reviewer for you, use r? to override) |
89b12db
to
5f51eed
Compare
Thanks for moving this forward! One more thing, I think when running |
@bors r+ |
📌 Commit 5f51eed has been approved by |
Add --no-deps option to avoid running on path dependencies in workspaces Since rust-lang/cargo#8758 has hit nightly, this allows us to address the second bullet point and [the concern related to `--fix`](rust-lang/cargo#8143 (comment)) in the [RUSTC_WORKSPACE_WRAPPER tracking issue](rust-lang/cargo#8143). As a reminder stabilizing that env var will solve #4612 (Clippy not running after `cargo check` in stable) and would allow to stabilize the `--fix` option in Clippy. changelog: Add `--no-deps` option to avoid running on path dependencies in workspaces Fixes #3025
Oops I think @ehuss comment is relevant, should I open a followup? |
This comment has been minimized.
This comment has been minimized.
☀️ Try build successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
95e4028
to
506ae4f
Compare
Sorry to everyone involved for the delay in making this move forward, I didn't have much free time lately and wanted to give priority to some pending reviews. @flip1995 I've addressed your concern, code is much clearer now, thanks! @ehuss now Regarding the After that, I'm not sure if there would be something else missing to stabilize RUSTC_WORKSPACE_WRAPPER. Maybe the ccache issue, not sure if that would be a blocker? I would be happy to work on that if it is :) |
This comment has been minimized.
This comment has been minimized.
506ae4f
to
a83eb7c
Compare
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.
r=me. Don't know if other people want to take a look before merging.
I will go ahead and @bors r=flip1995 this. We can always add further changes in a follow-up :) |
📌 Commit 952b731 has been approved by |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
This is super useful. Thank you! |
Since rust-lang/cargo#8758 has hit nightly, this allows us to address the second bullet point and the concern related to
--fix
in the RUSTC_WORKSPACE_WRAPPER tracking issue.As a reminder stabilizing that env var will solve #4612 (Clippy not running after
cargo check
in stable) and would allow to stabilize the--fix
option in Clippy.changelog: Add
--no-deps
option to avoid running on path dependencies in workspacesFixes #3025