runtime: make gc and scheduler asserts settable with build tags

This commit is contained in:
Damian Gryski
2022-09-21 10:14:25 -07:00
committed by Ron Evans
parent 107b1c2906
commit fca2de21b1
5 changed files with 19 additions and 9 deletions
+1 -5
View File
@@ -37,11 +37,7 @@ import (
"unsafe"
)
// Set gcDebug to true to print debug information.
const (
gcDebug = false // print debug info
gcAsserts = gcDebug // perform sanity checks
)
const gcDebug = false
// Some globals + constants for the entire GC.