diff --git a/src/runtime/arch_arm.go b/src/runtime/arch_arm.go new file mode 100644 index 00000000..1f15a5c5 --- /dev/null +++ b/src/runtime/arch_arm.go @@ -0,0 +1,11 @@ +// +build arm + +package runtime + +const GOARCH = "arm" + +// The length type used inside strings and slices. +type lenType uint32 + +// The bitness of the CPU (e.g. 8, 32, 64). +const TargetBits = 32 diff --git a/src/runtime/arch_wasm.go b/src/runtime/arch_wasm.go index 65af4370..e7eaaf29 100644 --- a/src/runtime/arch_wasm.go +++ b/src/runtime/arch_wasm.go @@ -1,4 +1,4 @@ -// +build wasm,!avr +// +build wasm,!arm,!avr package runtime