mirror of https://github.com/tinygo-org/tinygo.git
Damian Gryski
2 years ago
committed by
Ron Evans
5 changed files with 19 additions and 9 deletions
@ -0,0 +1,9 @@ |
|||||
|
//go:build runtime_asserts
|
||||
|
|
||||
|
package runtime |
||||
|
|
||||
|
// enable assertions for the garbage collector
|
||||
|
const gcAsserts = true |
||||
|
|
||||
|
// enable asserts for the scheduler
|
||||
|
const schedulerAsserts = true |
@ -0,0 +1,9 @@ |
|||||
|
//go:build !runtime_asserts
|
||||
|
|
||||
|
package runtime |
||||
|
|
||||
|
// disable assertions for the garbage collector
|
||||
|
const gcAsserts = false |
||||
|
|
||||
|
// disable assertions for the scheduler
|
||||
|
const schedulerAsserts = false |
Loading…
Reference in new issue