runtime: add proper arm arch
Этот коммит содержится в:
родитель
daf92226d8
коммит
fd45410c24
2 изменённых файлов: 12 добавлений и 1 удалений
11
src/runtime/arch_arm.go
Обычный файл
11
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
|
|
@ -1,4 +1,4 @@
|
||||||
// +build wasm,!avr
|
// +build wasm,!arm,!avr
|
||||||
|
|
||||||
package runtime
|
package runtime
|
||||||
|
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче