diff options
author | Ryan Oldenburg <ryan@guzba.com> | 2021-11-10 23:48:22 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-11 06:48:22 +0100 |
commit | 77b696c2c92b5f478526290c5e184a4c41060f7b (patch) | |
tree | 754b51aed3b1495a29d58287bbedbdf0be165560 /config | |
parent | a78ee8ae8453aabde04fa0103e02378efe870827 (diff) | |
download | Nim-77b696c2c92b5f478526290c5e184a4c41060f7b.tar.gz |
Remove tlsEmulation enabled from Windows + GCC config (#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 https://github.com/nim-lang/Nim/issues/18146#issuecomment-876802676 for discussion and perf impact. [backport:1.6]
Diffstat (limited to 'config')
-rw-r--r-- | config/nim.cfg | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/config/nim.cfg b/config/nim.cfg index 3b964d124..86c6e2141 100644 --- a/config/nim.cfg +++ b/config/nim.cfg @@ -154,9 +154,6 @@ 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" |