merge BuildMode into SuccessX, remove code duplication w drnim, add useful info to successx, add gc to compilesettings (#18252)

* merge BuildMode into SuccessX, add more info

* refactor duplicated with drnim

* fixup

* address comment
This commit is contained in:
Timothee Cour 2021-06-13 23:51:40 -07:00 • committed by GitHub
commit e1e8af535e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 64 additions and 66 deletions

View file

@ -167,8 +167,17 @@ const
type
TStringSeq* = seq[string]
TGCMode* = enum # the selected GC
gcUnselected, gcNone, gcBoehm, gcRegions, gcArc, gcOrc,
gcMarkAndSweep, gcHooks, gcRefc, gcV2, gcGo
gcUnselected = "unselected"
gcNone = "none"
gcBoehm = "boehm"
gcRegions = "regions"
gcArc = "arc"
gcOrc = "orc"
gcMarkAndSweep = "markAndSweep"
gcHooks = "hooks"
gcRefc = "refc"
gcV2 = "v2"
gcGo = "go"
# gcRefc and the GCs that follow it use a write barrier,
# as far as usesWriteBarrier() is concerned