Mark setupForeignThreadGc and initGC as gcsafe (#5353)
This commit is contained in:
parent
ca39e113d5
commit
61b4bb5af5
2 changed files with 2 additions and 2 deletions
|
|
@ -2630,7 +2630,7 @@ when not defined(JS): #and not defined(nimscript):
|
|||
|
||||
when hasAlloc:
|
||||
when not defined(gcStack):
|
||||
proc initGC()
|
||||
proc initGC() {.gcsafe.}
|
||||
when not defined(boehmgc) and not defined(useMalloc) and
|
||||
not defined(gogc) and not defined(gcStack):
|
||||
proc initAllocator() {.inline.}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue