mirror of
https://github.com/Pumpkin-MC/Pumpkin.git
synced 2026-08-30 20:14:23 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user