-
Notifications
You must be signed in to change notification settings - Fork 7
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
Support both [[bin]] and [lib] together? #4
Comments
Yeah, this is the same error message that you'll receive if you ran I normally work around this by doing something like |
Maybe we should escalate to cargo devs? |
The problem with always running |
My workaround for this was to split my project into several crates, with the top-level crate being bin-only and the rest being libs. However, this means that you have to append |
And what about the test targets... I wanna check those too. 😞 |
Isn't there any way to support both
[[bin]]
and[lib]
in one go?cargo build
just works, so I'd expectcargo check
to be drop-in replacement.The text was updated successfully, but these errors were encountered: