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 12:43:06 -0500
committerCherry Mui <cherryyz@google.com>2024-11-11 17:11:50 +0000
commit5a9aeef9d54321702253257eb983d7a0cc1d97bf (patch)
treed3b8c5c88e831fac35f7c5bd4196e2d20d8e1804 /src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go
parent583d750fa119d504686c737be6a898994b674b69 (diff)
downloadgo-5a9aeef9d54321702253257eb983d7a0cc1d97bf.tar.xz
cmd/compile: allow more types for wasmimport/wasmexport parameters and results
As proposed on #66984, this CL allows more types to be used as wasmimport/wasmexport function parameters and results. Specifically, bool, string, and uintptr are now allowed, and also pointer types that point to allowed element types. Allowed element types includes sized integer and floating point types (including small integer types like uint8 which are not directly allowed as a parameter type), bool, array whose element type is allowed, and struct whose fields are allowed element type and also include a struct.HostLayout field. For #66984. Change-Id: Ie5452a1eda21c089780dfb4d4246de6008655c84 Reviewed-on: https://go-review.googlesource.com/c/go/+/626615 Reviewed-by: David Chase <drchase@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go')
0 files changed, 0 insertions, 0 deletions