Skip to content

Commit 77b696c

Browse files
authored
Remove tlsEmulation enabled from Windows + GCC config (nim-lang#19119) [backport:1.6]
This flag has a very significant performance impact on programs compiled with --threads:on. It is also apparently not needed anymore for standard circumstances. Can we remove the config? See nim-lang#18146 (comment) for discussion and perf impact. [backport:1.6]
1 parent a78ee8a commit 77b696c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

config/nim.cfg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,6 @@ nimblepath="$home/.nimble/pkgs/"
154154
# Configuration for the GNU C/C++ compiler:
155155
@if windows:
156156
#gcc.path = r"$nim\dist\mingw\bin"
157-
@if gcc or tcc:
158-
tlsEmulation:on
159-
@end
160157
@end
161158

162159
gcc.maxerrorsimpl = "-fmax-errors=3"

0 commit comments

Comments
 (0)