tinygo/src/runtime/arch_tinygoarm.go
Ayke van Laethem ee7c276493
compiler: update integer type sizes
* Use 64-bit integers on 64-bit platforms, just like gc and gccgo:
  https://golang.org/doc/go1.1#int
* Do not use a separate length type. Instead, use uintptr everywhere a
  length is expected.
2018-11-14 14:01:04 +01:00

15 строки
203 Б
Go

// +build tinygo.arm
package runtime
import (
"unsafe"
)
const GOARCH = "arm"
// The bitness of the CPU (e.g. 8, 32, 64).
const TargetBits = 32
//go:extern _heap_start
var heapStart unsafe.Pointer