Fixes #12286 - require explicit disabling of boehm interior pointer checking (#12406) [backport]

This commit is contained in:
genotrance 2019-10-11 00:39:18 -05:00 • committed by Andreas Rumpf
commit 9e62876647

View file

@ -152,6 +152,8 @@ when defined(boehmgc):
proc nimGC_setStackBottom(theStackBottom: pointer) = discard proc nimGC_setStackBottom(theStackBottom: pointer) = discard
proc initGC() = proc initGC() =
when defined(boehmNoIntPtr):
# See #12286
boehmGC_set_all_interior_pointers(0) boehmGC_set_all_interior_pointers(0)
boehmGCinit() boehmGCinit()
when hasThreadSupport: when hasThreadSupport: