-
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
Doesn't work with custom rustc path #2765
Comments
Looks like the issue starts here: https://github.com/rust-lang-nursery/rust-clippy/blob/master/src/driver.rs#L165 if orig_args[1] == "rustc" {
// we still want to be able to invoke it normally though
orig_args.remove(1);
} |
yea sorry, we need that hack for cargo-clippy. The hack is at https://github.com/rust-lang-nursery/rust-clippy/blob/master/src/main.rs#L101 What you can do is change your script to use |
Unrelated to your actual issue, but you probably want to quote the args in your wrapper script.
😬 |
cargo clippy
doesn't work with the following.cargo/config
:Output:
.cargo/rustc.sh
is just a wrapper:The wrapper is needed because of rust-lang/cargo#4423.
clippy v0.0.200
rustc 1.27.0-nightly (f0fdaba 2018-05-15)
The text was updated successfully, but these errors were encountered: