Add support for unsafe.Add()
for arrays and slices
#1130
Labels
Milestone
unsafe.Add()
for arrays and slices
#1130
unsafe.Add()
as added in Go 1.17.Even though we can't support general-case pointer arithmetic, it should be possible to support
unsafe.Add()
for slices and arrays specifically. This should improve portability with the code like https://github.com/gopherjs/gopherjs/blob/master/compiler/natives/src/crypto/internal/subtle/aliasing.go (or so I think).The text was updated successfully, but these errors were encountered: