rm linux guard in config.nims as not needed

This commit is contained in:
Ivan FB 2026-04-05 13:21:17 +02:00
parent dfdf6ae784
commit c2c8fb9f9d
No known key found for this signature in database
GPG Key ID: DF0C67A04C543270

View File

@ -57,7 +57,7 @@ else:
if not defined(android):
switch("passC", "-march=native")
switch("passL", "-march=native")
if defined(windows) or defined(linux):
if defined(windows):
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65782
# ("-fno-asynchronous-unwind-tables" breaks Nim's exception raising, sometimes)
switch("passC", "-mno-avx512f")