From dd2225fe073c51cee144a06745c9b3ef620b2bbd Mon Sep 17 00:00:00 2001 From: Araq Date: Wed, 30 Sep 2015 17:18:41 +0200 Subject: NimScript: --threads:on works in a nims file --- lib/system.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/system.nim') 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") -- cgit 1.4.1-2-gfad0