From 20c2b008227028c52d4ba2349c69dd76d9ed65ab Mon Sep 17 00:00:00 2001 From: Araq Date: Wed, 26 Aug 2015 23:59:00 +0200 Subject: make --gc:none work with --threads:on --- lib/system/threads.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/system/threads.nim b/lib/system/threads.nim index 315a70af5..c7cb8d9df 100644 --- a/lib/system/threads.nim +++ b/lib/system/threads.nim @@ -244,7 +244,7 @@ when useStackMaskHack: when not defined(useNimRtl): when not useStackMaskHack: #when not defined(createNimRtl): initStackBottom() - initGC() + when declared(initGC): initGC() when emulatedThreadVars: if nimThreadVarsSize() > sizeof(ThreadLocalStorage): -- cgit 1.4.1-2-gfad0 f3'/> Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log blame commit diff stats
path: root/012transform.cc
blob: 7837ae675955639f27974eaecca34cb700423421 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14