Skip to content
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

Idea: emphasize ability to check multiple targets in documentation and help message #267

Closed
vi opened this issue Jan 4, 2025 · 1 comment · Fixed by #269
Closed

Idea: emphasize ability to check multiple targets in documentation and help message #267

vi opened this issue Jan 4, 2025 · 1 comment · Fixed by #269
Labels
C-documentation Category: related to documentation. C-enhancement Category: A new feature or an improvement for an existing one

Comments

@vi
Copy link
Contributor

vi commented Jan 4, 2025

Like usual Cargo invocation, cargo hack can check multiple targets simultaneously if you specify multiple --target options.

This fact is however not very well known and is easy to miss; users may reach for cargo-hack to iterate targets, just like cargo-hack iterates features.

I suggest to add a reminder about this in README, also maybe mention --target explicitly in the CLI help message.

@taiki-e taiki-e added C-documentation Category: related to documentation. C-enhancement Category: A new feature or an improvement for an existing one labels Jan 25, 2025
@taiki-e
Copy link
Owner

taiki-e commented Jan 25, 2025

I would accept PR that does this.

vi added a commit to vi/cargo-hack that referenced this issue Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-documentation Category: related to documentation. C-enhancement Category: A new feature or an improvement for an existing one
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants