diff options
| author | Tobias Klauser <tklauser@distanz.ch> | 2024-04-02 00:10:47 +0200 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-04-02 15:01:40 +0000 |
| commit | e3ec1ca17e339e21ca50fbdb375b4294783bc385 (patch) | |
| tree | 939d0724ec4341444f9cb999dbfb7c0906fd99ee /src/runtime | |
| parent | 88b1d6115a9d984780391f11523364dbd509ae14 (diff) | |
| download | go-e3ec1ca17e339e21ca50fbdb375b4294783bc385.tar.xz | |
os: define wrapSyscallError only on linux
wrapSyscallError by now is only used on linux in the methods defined in
os/zero_copy_linux.go. Move the definition there.
Change-Id: I0ca5749adaac44e8d095b8452458b647f595d3c8
Reviewed-on: https://go-review.googlesource.com/c/go/+/575595
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions
