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

Will not run and panicks on multiple [[bin]] sections in Cargo.toml without --bin flag #932

Closed
vadixidav opened this issue May 16, 2016 · 1 comment

Comments

@vadixidav
Copy link

Running cargo clippy without a --bin parameter results in clippy producing this error and panicking (some stuff omitted):

$ cargo clippy               
error: extra arguments to `rustc` can only be passed to one target, consider filtering
the package by passing e.g. `--lib` or `--bin NAME` to specify a single target
thread '<main>' panicked at 'cargo rustc failed', /.../master/src/lib.rs:131
note: Run with `RUST_BACKTRACE=1` for a backtrace.

Sadly, I cannot use clippy with atom's rust-linter unless it can lint all the binaries in the Cargo.toml. Is this something that should be added?

@oli-obk
Copy link
Contributor

oli-obk commented Nov 30, 2016

I think this should work now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants