docs: add note on target-cpu=native when manually installing

This commit is contained in:
Clement Tsang authored and GitHub committed 2022-10-10 20:13:41 -04:00
1 parent a965e53c6c
commit e7b31dfb96
1 file changed
+4
+4
View File
@@ -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