summary refs log tree commit diff stats
path: root/config/nim.cfg
diff options
context:
space:
mode:
authorflywind <43030857+xflywind@users.noreply.github.com>2022-07-06 19:06:41 +0800
committerGitHub <noreply@github.com>2022-07-06 13:06:41 +0200
commit430a1793075866179b34790a461936023fca1c0a (patch)
tree59d4a3371a40e073a60532797bb5a433ffe7fdb2 /config/nim.cfg
parent01b40dc1d7c7c5331361341bdf305084c799c05b (diff)
downloadNim-430a1793075866179b34790a461936023fca1c0a.tar.gz
default threads on (#19368)
* default threads on

* make rst gcsafe

* ignore threads option for nimscript

* threads off

* use createShared for threads

* test without threads

* avr threds off

* avr threads off

* async threads off

* threads off

* fix ci

* restore option

* make CI pleased

* fix ic tests

* Update config.nims

* add changelog

* Update changelog.md

Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>

Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
Diffstat (limited to 'config/nim.cfg')
-rw-r--r--config/nim.cfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/nim.cfg b/config/nim.cfg
index 7fe279f56..37d12a02d 100644
--- a/config/nim.cfg
+++ b/config/nim.cfg
@@ -17,6 +17,8 @@ cc = gcc
 hint[LineTooLong]=off
 #hint[XDeclaredButNotUsed]=off
 
+threads:on
+
 # Examples of how to setup a cross-compiler:
 # Nim can target architectures and OSes different than the local host
 # Syntax: <arch>.<os>.gcc.exe = "<compiler executable>"