Improve MacOS opt flags (#705)

This commit is contained in:
Logan McNaughton
2026-04-02 00:19:32 -06:00
committed by GitHub
parent 973f4bb28d
commit 20b5cf3e4d
2 changed files with 7 additions and 2 deletions
+4 -1
View File
@@ -10,7 +10,10 @@ rustflags = ["-C", "link-arg=/STACK:8388608"]
[target.'cfg(target_arch = "x86_64")']
rustflags = ["-C", "target-cpu=x86-64-v3"]
[target.'cfg(target_arch = "aarch64")']
[target.'cfg(all(target_arch = "aarch64", target_os = "macos"))']
rustflags = ["-C", "target-cpu=apple-m1"]
[target.'cfg(all(target_arch = "aarch64", not(target_os = "macos")))']
rustflags = ["-C", "target-cpu=cortex-a76"]
[env]