mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-21 06:45:27 +00:00
(cherry picked from commit 9e62876647)
This commit is contained in:
@@ -152,7 +152,9 @@ when defined(boehmgc):
|
||||
proc nimGC_setStackBottom(theStackBottom: pointer) = discard
|
||||
|
||||
proc initGC() =
|
||||
boehmGC_set_all_interior_pointers(0)
|
||||
when defined(boehmNoIntPtr):
|
||||
# See #12286
|
||||
boehmGC_set_all_interior_pointers(0)
|
||||
boehmGCinit()
|
||||
when hasThreadSupport:
|
||||
boehmGC_allow_register_threads()
|
||||
|
||||
Reference in New Issue
Block a user