github.com/pidato/unsafe@v0.1.4/memory/tlsf/assert.go (about)

     1  //go:build !tinygo.wasm
     2  
     3  package tlsf
     4  
     5  func assert(truth bool, message string) {
     6  	if !truth {
     7  		panic(message)
     8  	}
     9  }