From 8e9ea667875425634f183a2242e0ee6cd8b2b729 Mon Sep 17 00:00:00 2001 From: Alexander Medvedev <71594357+Snowiiii@users.noreply.github.com> Date: Tue, 27 Aug 2024 16:17:59 +0100 Subject: [PATCH] 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 --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 32f57450d..0d3c7d3bd 100644 --- a/README.md +++ b/README.md @@ -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