rp2040: fix -gc=leaking/none

This commit is contained in:
Pat Whittingslow
2026-05-26 10:27:32 -03:00
committed by GitHub
parent 443de9fe1c
commit d348d8b4cf
5 changed files with 13 additions and 2 deletions
+5
View File
@@ -8,11 +8,16 @@ package runtime
import (
"internal/task"
"sync/atomic"
"unsafe"
)
const needsStaticHeap = true
var gcScanState atomic.Uint32
func scanCurrentStack() {}
// Ever-incrementing pointer: no memory is freed.
var heapptr uintptr