- compiler
- switch to the hardfloat ABI on ARM, which is more widely used
- avoid a dependency on
objcopy
(arm-none-eabi-objcopy
etc.) - fix a bug in
make([]T, n)
wheren
is 64-bits on a 32-bit platform - adapt to a change in the AVR backend in LLVM 8
- directly support the .uf2 firmware format as used on Adafruit boards
- fix a bug when calling
panic()
at init time outside of the main package - implement nil checks, which results in a ~5% increase in code size
- inline slice bounds checking, which results in a ~1% decrease in code size
- targets
samd21
: fix a bug in port B pinssamd21
: implement SPI peripheralsamd21
: implement ADC peripheralstm32
: fix a bug in timekeepingwasm
: fix a bug inwasm_exec.js
that caused corruption in linear memory when running on Node.js.
- compiler
- remove old
-initinterp
flag - add support for macOS
- remove old
- cgo
- add support for bool/float/complex types
- standard library
device/arm
: add support to disable/enable hardware interruptsmachine
: add CPU frequency for nrf-based boardssyscall
: add support for darwin/amd64
- targets
circuitplay_express
: add support for this boardmicrobit
: add regular pin constantssamd21
: fix time function for goroutine supportsamd21
: add support for USB-CDC (serial over USB)samd21
: add support for pins in port Bsamd21
: add support for pullup and pulldown pinswasm
: add support for Safari in example
- command line
- add version subcommand
- compiler
- fix a bug in floating point comparisons with NaN values
- fix a bug when calling
panic
in package initialization code - add support for comparing
complex64
andcomplex128
- cgo
- add support for external globals
- add support for pointers and function pointers
- standard library
fmt
: initial support,fmt.Println
worksmath
: support for most/all functionsos
: initial support (only stdin/stdout/stderr)reflect
: initial supportsyscall
: add support for amd64, arm, and arm64