Open
Description
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).