From b7b9ce1ed8725c4384ebf89cad0a06731f4bb2bf Mon Sep 17 00:00:00 2001 From: Anton-4 <17049058+Anton-4@users.noreply.github.com> Date: Fri, 5 May 2023 13:49:37 +0200 Subject: [PATCH] removed target-cpu native Brendan benchmarked this and not using native is actually faster! --- .cargo/config.toml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 2ad4914a21..b4b2b7ad28 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -12,10 +12,6 @@ uitest = "test -p uitest" # embed-bitcode=yes Turn back on lto since it is no longer default rustflags = ["-Copt-level=s", "-Clto=fat", "-Cembed-bitcode=yes"] -[target.'cfg(not(target = "wasm32-unknown-unknown"))'] -# Sets the avx, avx2, sse2 and sse4.2 target-features correctly based on your CPU. -rustflags = ["-Ctarget-cpu=native"] - # TODO: there is probably a more proper solution to this. # We are pulling in roc_alloc and friends due to using roc_std. # They ared defined in roc_glue, but windows linking breaks before we get there.