]> git.lizzy.rs Git - rust.git/blobdiff - README.md
Update README local run command to remove syspath
[rust.git] / README.md
index be24f1be8272ff29543a6cb1ec632e38c8662f3a..8ca10da416ddba62696cc2cba4d5e31d621807d4 100644 (file)
--- a/README.md
+++ b/README.md
@@ -79,7 +79,7 @@ To have cargo compile your crate with Clippy without Clippy installation
 in your code, you can use:
 
 ```terminal
-RUSTFLAGS=--sysroot=`rustc --print sysroot` cargo run --bin cargo-clippy --manifest-path=path_to_clippys_Cargo.toml
+cargo run --bin cargo-clippy --manifest-path=path_to_clippys_Cargo.toml
 ```
 
 *[Note](https://github.com/rust-lang/rust-clippy/wiki#a-word-of-warning):*