$ cargo clippy
thread '<main>' panicked at 'need to specify SYSROOT env var during clippy compilation or use multirust', ../src/libcore/option.rs:699
note: Run with `RUST_BACKTRACE=1` for a backtrace.
error: third party subcommand `cargo-clippy` exited unsuccessfully
To learn more, run the command again with --verbose.
I tried again with --verbose and got exactly the same output, asking for verbose again:
$ cargo clippy --verbose
thread '<main>' panicked at 'need to specify SYSROOT env var during clippy compilation or use multirust', ../src/libcore/option.rs:699
note: Run with `RUST_BACKTRACE=1` for a backtrace.
error: third party subcommand `cargo-clippy` exited unsuccessfully
To learn more, run the command again with --verbose.
So I thought maybe it's like git which has a different interpretation of options before a subcommand:
$ cargo --verbose clippy
error: Invalid arguments.
Usage:
cargo <command> [<args>...]
cargo [options]
Nope :/ So it seems --verbose doesn't work in that situation, and the recommendation is out of place.
I tried again with
--verboseand got exactly the same output, asking for verbose again:So I thought maybe it's like
gitwhich has a different interpretation of options before a subcommand:$ cargo --verbose clippy error: Invalid arguments. Usage: cargo <command> [<args>...] cargo [options]Nope :/ So it seems
--verbosedoesn't work in that situation, and the recommendation is out of place.