avr: use i16 for lengths

This commit is contained in:
Ayke van Laethem
2018-09-20 20:52:59 +02:00
parent 45348bfc3e
commit dbb5ae5a23
4 changed files with 52 additions and 13 deletions
+11
View File
@@ -0,0 +1,11 @@
// +build avr
package runtime
const GOARCH = "avr"
// The length type used inside strings and slices.
type lenType uint16
// The bitness of the CPU (e.g. 8, 32, 64).
const TargetBits = 8