mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 07:04:18 +00:00
Nightly only
This commit is contained in:
parent
1245de1e46
commit
c66eaee77c
1 changed files with 4 additions and 4 deletions
|
@ -32,12 +32,12 @@ One way to use clippy is by installing clippy through cargo as a cargo
|
||||||
subcommand.
|
subcommand.
|
||||||
|
|
||||||
```terminal
|
```terminal
|
||||||
cargo install clippy
|
cargo +nightly install clippy
|
||||||
```
|
```
|
||||||
|
|
||||||
Now you can run clippy by invoking `cargo clippy`, or
|
(The `+nightly` is not necessary if your default `rustup` install is nightly)
|
||||||
`cargo +nightly clippy` directly from a directory that is usually
|
|
||||||
compiled with stable.
|
Now you can run clippy by invoking `cargo +nightly clippy`.
|
||||||
|
|
||||||
In case you are not using rustup, you need to set the environment flag
|
In case you are not using rustup, you need to set the environment flag
|
||||||
`SYSROOT` during installation so clippy knows where to find `librustc` and
|
`SYSROOT` during installation so clippy knows where to find `librustc` and
|
||||||
|
|
Loading…
Reference in a new issue