From e7b31dfb96c95664049b45d297f604bfb6865d72 Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Mon, 10 Oct 2022 20:13:41 -0400 Subject: [PATCH] docs: add note on target-cpu=native when manually installing --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 67fd1d6e..effc835a 100644 --- a/README.md +++ b/README.md @@ -282,6 +282,10 @@ cargo install --path . # Option 3 - Clone and install directly from the repo all via Cargo cargo install --git https://github.com/ClementTsang/bottom + +# You can also want to pass in the target-cpu=native flag for +# better CPU-specific optimizations. For example: +RUSTFLAGS="-C target-cpu=native" cargo install --path . ``` ### Binaries