mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-13 06:43:52 +00:00
keep initStackBottom calls please
This commit is contained in:
@@ -1935,6 +1935,7 @@ when not defined(EcmaScript) and not defined(NimrodVM):
|
||||
include "system/syslocks"
|
||||
include "system/threads"
|
||||
elif not defined(nogc):
|
||||
when not defined(useNimRtl) and not defined(createNimRtl): initStackBottom()
|
||||
initGC()
|
||||
|
||||
proc setControlCHook*(hook: proc () {.noconv.})
|
||||
|
||||
@@ -203,6 +203,7 @@ when not defined(useNimRtl):
|
||||
when not useStackMaskHack:
|
||||
var mainThread: TGcThread
|
||||
ThreadVarSetValue(globalsSlot, addr(mainThread))
|
||||
when not defined(createNimRtl): initStackBottom()
|
||||
initGC()
|
||||
|
||||
when emulatedThreadVars:
|
||||
|
||||
Reference in New Issue
Block a user