summary refs log tree commit diff stats
path: root/config/nim.cfg
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2022-09-19 15:16:54 +0800
committerGitHub <noreply@github.com>2022-09-19 09:16:54 +0200
commit97259a5ab37892bedca64b14ffc6e0b7d25dd789 (patch)
tree381c01a9f9eadbb3bc3900bc33f4aa342e450109 /config/nim.cfg
parentf6dc30e52d94f433d1a132d73a5cf357c57e6a34 (diff)
downloadNim-97259a5ab37892bedca64b14ffc6e0b7d25dd789.tar.gz
fixes #19713; Revert "Remove tlsEmulation enabled from Windows + GCC config" (#19119) (#20327)
* Revert "Remove tlsEmulation enabled from Windows + GCC config (#19119) [backport:1.6]"

This reverts commit 77b696c2c92b5f478526290c5e184a4c41060f7b.

* increase nimTlsSize to 48000

* enable for windows

* fixes tests

* fixes tlsEmulation:on
Diffstat (limited to 'config/nim.cfg')
-rw-r--r--config/nim.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/nim.cfg b/config/nim.cfg
index fd2642391..55b7a41c1 100644
--- a/config/nim.cfg
+++ b/config/nim.cfg
@@ -169,6 +169,9 @@ nimblepath="$home/.nimble/pkgs/"
 # Configuration for the GNU C/C++ compiler:
 @if windows:
   #gcc.path = r"$nim\dist\mingw\bin"
+  @if gcc or tcc:
+    tlsEmulation:on
+  @end
 @end
 
 gcc.maxerrorsimpl = "-fmax-errors=3"