mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-10 22:13:39 +00:00
runtime: make gc and scheduler asserts settable with build tags
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user