mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-11 06:23:39 +00:00
runtime: make MemStats available to leaking collector
This commit is contained in:
@@ -13,6 +13,8 @@ import (
|
||||
|
||||
const gcAsserts = false // perform sanity checks
|
||||
|
||||
var gcTotalAlloc uint64 // for runtime.MemStats
|
||||
|
||||
func alloc(size uintptr, layout unsafe.Pointer) unsafe.Pointer
|
||||
|
||||
func realloc(ptr unsafe.Pointer, size uintptr) unsafe.Pointer
|
||||
|
||||
Reference in New Issue
Block a user