diff options
| author | hopehook <hopehook.com@gmail.com> | 2022-09-09 08:43:10 +0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-09-09 01:59:23 +0000 |
| commit | d734203e393745626d2c705aaf433b210d86c241 (patch) | |
| tree | 783b21cb3e507ea6eb7beb28e97b3fa7065bf5e9 /src/syscall/exec_linux.go | |
| parent | 76c94eb7064c9f84e41a2329efb0986cad1fb306 (diff) | |
| download | go-d734203e393745626d2c705aaf433b210d86c241.tar.xz | |
reflect: deprecate SliceHeader and StringHeader
As discussed in CL 401434 there are substantial misuses of these in the
wild, and they are a potential source of unsafety even for code that
does not use them directly.
Since proposal #53003 has already been implemented, now is the right
time to deprecate reflect.{SliceHeader, StringHeader}.
For #53003.
Change-Id: I724cf46d4b22d2ed3cbf2b948e6aac5ee4bf0f6e
Reviewed-on: https://go-review.googlesource.com/c/go/+/428757
Run-TryBot: hopehook <hopehook@golangcn.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'src/syscall/exec_linux.go')
0 files changed, 0 insertions, 0 deletions
