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

This commit is contained in:
Clement Tsang 2022-10-10 20:13:41 -04:00 committed by GitHub
parent a965e53c6c
commit e7b31dfb96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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