]> Cypherpunks repositories - gostls13.git/commitdiff
syscall: remove deprecation notice
authorIan Lance Taylor <iant@golang.org>
Wed, 16 Aug 2023 18:39:06 +0000 (11:39 -0700)
committerGopher Robot <gobot@golang.org>
Wed, 16 Aug 2023 18:54:55 +0000 (18:54 +0000)
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>

src/syscall/syscall.go

index 446a299f57dd60a4d98616d137b4762da922ae22..f75ba31f5fb33292824663f65c70a9cf86624db8 100644 (file)
 // 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"