From f4cf82ce7d05f5eccb616a3dbb060939e9b0fe8d Mon Sep 17 00:00:00 2001 From: Michael Wright Date: Sat, 29 Dec 2018 07:59:33 +0200 Subject: [PATCH] Update README local run command to remove syspath Since #3257 was reverted, including the sysroot in RUSTFLAGS gives the error `Option 'sysroot' given more than once` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index be24f1be8..8ca10da41 100644 --- 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):*