aboutsummaryrefslogtreecommitdiff
path: root/src/syscall
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2023-08-16 11:39:06 -0700
committerGopher Robot <gobot@golang.org>2023-08-16 18:54:55 +0000
commitf6360cf488e4ddab0f920065b8775773f702e6bf (patch)
tree20d558824666dd1950d50a928061f98e5ba724d3 /src/syscall
parent040dbf9c181a0e3ea9f7bd3ebe3f75acdc878aaf (diff)
downloadgo-f6360cf488e4ddab0f920065b8775773f702e6bf.tar.xz
syscall: remove deprecation notice
The syscall package isn't getting new system call support, but it is not deprecated. Fixes #60797 Change-Id: I33b60269f9ce70ac2108fa0f3d42fd87a3076bf1 Reviewed-on: https://go-review.googlesource.com/c/go/+/520018 Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com> Auto-Submit: Ian Lance Taylor <iant@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/syscall')
-rw-r--r--src/syscall/syscall.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/syscall/syscall.go b/src/syscall/syscall.go
index 446a299f57..f75ba31f5f 100644
--- a/src/syscall/syscall.go
+++ b/src/syscall/syscall.go
@@ -18,11 +18,11 @@
// err is an operating system error describing the failure.
// On most systems, that error has type syscall.Errno.
//
-// Deprecated: this package is locked down. Callers should use the
-// corresponding package in the golang.org/x/sys repository instead.
-// That is also where updates required by new systems or versions
-// should be applied. See https://golang.org/s/go1.4-syscall for more
-// information.
+// NOTE: Most of the functions, types, and constants defined in
+// this package are also available in the [golang.org/x/sys] package.
+// That package has more system call support than this one,
+// and most new code should prefer that package where possible.
+// See https://golang.org/s/go1.4-syscall for more information.
package syscall
import "internal/bytealg"