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:
parent
65d8093694
commit
8e9ea66787
@ -91,9 +91,12 @@ Then run:
|
|||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
> This can take a while. Because we enabled heavy optimizations for release builds
|
> 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
|
```shell
|
||||||
RUSTFLAGS="-C target-cpu=native" cargo run --release
|
cargo run --release
|
||||||
```
|
```
|
||||||
|
|
||||||
### Docker
|
### Docker
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user