aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/runtime/arch_wasm.go
blob: bc48ce0b2ca7a715d24d41f500366038314bdaf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// +build wasm,!arm,!avr

package runtime

import (
	"unsafe"
)

const GOARCH = "wasm"

// The length type used inside strings and slices.
type lenType uint32

// The bitness of the CPU (e.g. 8, 32, 64).
const TargetBits = 32

//go:extern __heap_base
var heapStart unsafe.Pointer