mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-11 06:23:39 +00:00
rp2040: fix -gc=leaking/none
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user