aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go
diff options
context:
space:
mode:
authorCherry Mui <cherryyz@google.com>2024-11-08 23:10:41 -0500
committerCherry Mui <cherryyz@google.com>2024-11-11 21:33:33 +0000
commit73ac82f99046a8b0b0b76f767f4b2e25ef6989ca (patch)
treebce1fc5989a44700f8c34e263f208adcd766b727 /src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go
parent6051da46d01e967b55d088530fcbe84e8deb0e7a (diff)
downloadgo-73ac82f99046a8b0b0b76f767f4b2e25ef6989ca.tar.xz
runtime, syscall: use pointer types on wasmimport functions
Now that we support pointer types on wasmimport functions, use them, instead of unsafe.Pointer. This removes unsafe conversions. There is still one unsafe.Pointer argument left. It is actually a *Stat_t, which is an exported type with an int field, which is not allowed as a wasmimport field type. We probably cannot change it at this point. Updates #66984. Change-Id: I445c70b356c3877a5604bee67d19d99a538c682e Reviewed-on: https://go-review.googlesource.com/c/go/+/627059 Reviewed-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: David Chase <drchase@google.com>
Diffstat (limited to 'src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go')
0 files changed, 0 insertions, 0 deletions