When executing go test: `panic: runtime error: cgo argument has Go pointer to Go pointer` It seems Go 1.6 has stricter rules for passing Go pointers to C code: https://github.com/golang/go/issues/12416