Skip to content

Commit 4fb6056

Browse files
committed
Test using more compatible x86-64 arch
1 parent 6dda255 commit 4fb6056

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

config.nims

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,12 @@ elif defined(macosx) and defined(arm64):
6161
switch("passC", "-mcpu=apple-a14")
6262
# TODO: newer Clang >=15.0 can: https://github.com/llvm/llvm-project/commit/fcca10c69aaab539962d10fcc59a5f074b73b0de
6363
else:
64-
switch("passC", "-march=native")
6564
if defined(windows):
6665
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65782
6766
# ("-fno-asynchronous-unwind-tables" breaks Nim's exception raising, sometimes)
68-
switch("passC", "-mno-avx512vl")
67+
switch("passC", "-march=x86-64")
68+
else: switch("passC", "-march=native")
69+
6970

7071
--tlsEmulation:
7172
off

0 commit comments

Comments
 (0)