summary refs log tree commit diff stats
path: root/lib/system.nim
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2015-09-30 11:43:59 -0700
committerAman Gupta <aman@tmm1.net>2015-09-30 11:43:59 -0700
commit87ab263d5218911335d83fddafddc090348290bd (patch)
tree59b970407595b3c38ea2fb4674f8ebf9b58a8844 /lib/system.nim
parent8450ee9d5998e12158b590120321760a8f4b85d9 (diff)
parentdd2225fe073c51cee144a06745c9b3ef620b2bbd (diff)
downloadNim-87ab263d5218911335d83fddafddc090348290bd.tar.gz
Merge remote-tracking branch 'origin/devel' into bitsize-pragma
Diffstat (limited to 'lib/system.nim')
-rw-r--r--lib/system.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 59d0d04b7..1d2ca6a9a 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -1256,7 +1256,7 @@ proc compileOption*(option, arg: string): bool {.
   ##     echo "compiled with optimization for size and uses Boehm's GC"
 
 const
-  hasThreadSupport = compileOption("threads")
+  hasThreadSupport = compileOption("threads") and not defined(nimscript)
   hasSharedHeap = defined(boehmgc) or defined(gogc) # don't share heaps; every thread has its own
   taintMode = compileOption("taintmode")