gc: allow use of unsafe.Pointer in generated code
The functions we generate to implement == on structs or arrays may need to refer to unsafe.Pointer even in safe mode, in order to handle unexported fields contained in other packages' structs. R=ken2 CC=golang-dev https://golang.org/cl/5505046
Showing
Please
register
or
sign in
to comment