mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 01:14:41 +00:00
Turn on the TLS emulation when using Boehm, since it doesn't scan the
real TLS.
(cherry picked from commit 27741d6a5c)
This commit is contained in:
committed by
narimiran
parent
87992a3a18
commit
c0b749da38
@@ -478,6 +478,7 @@ proc processSwitch*(switch, arg: string, pass: TCmdLinePass, info: TLineInfo;
|
||||
of "boehm":
|
||||
conf.selectedGC = gcBoehm
|
||||
defineSymbol(conf.symbols, "boehmgc")
|
||||
incl conf.globalOptions, optTlsEmulation # Boehm GC doesn't scan the real TLS
|
||||
of "refc":
|
||||
conf.selectedGC = gcRefc
|
||||
of "v2":
|
||||
|
||||
Reference in New Issue
Block a user