Skip to content

Commit

Permalink
README: Change run command
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Snowiiii committed Aug 27, 2024
1 parent 65d8093 commit 8e9ea66
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8e9ea66

Please sign in to comment.