mirror of https://github.com/tinygo-org/tinygo.git
Browse Source
The copy builtin is defined as follows by the Go language spec: copy(dst, src []T) int copy(dst []byte, src string) int In other words, it returns an int. The runtime.sliceCopy compiler intrinsic returned a uintptr instead, which led to a problem while compiling the strings package for AVR. No other architecture should be affected by this change as the conversion from an uintptr to an int is a no-op on most architectures.pull/955/head
Ayke van Laethem
5 years ago
committed by
Ron Evans
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue