about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Wright <mikerite@lavabit.com>2018-12-29 07:59:33 +0200
committerMichael Wright <mikerite@lavabit.com>2018-12-29 07:59:33 +0200
commitf4cf82ce7d05f5eccb616a3dbb060939e9b0fe8d (patch)
treefc35e0a5330580a6b19e497fd7c27356f3c0fc6a
parent3c4abb5b800dc5884e0d39bdf07b61a94b0361ad (diff)
downloadrust-f4cf82ce7d05f5eccb616a3dbb060939e9b0fe8d.tar.gz
rust-f4cf82ce7d05f5eccb616a3dbb060939e9b0fe8d.zip
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`
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index be24f1be827..8ca10da416d 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):*