README: Change run command

I still like to use target-cpu=native. The problem is that there is no cross platform way to the the env var RUSTFLAGS. I also don't want to have a script for that
This commit is contained in:
Alexander Medvedev
2024-08-27 16:17:59 +01:00
parent 65d8093694
commit 8e9ea66787

View File

@@ -91,9 +91,12 @@ Then run:
> [!NOTE]
> This can take a while. Because we enabled heavy optimizations for release builds
>
> To apply further optimizations specfic to your CPU and use your CPU features. You should set the target-cpu=native
> Rust flag.
```shell
RUSTFLAGS="-C target-cpu=native" cargo run --release
cargo run --release
```
### Docker