Skip to content

Commit f6360cf

Browse files
ianlancetaylorgopherbot
authored andcommitted
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 <[email protected]> Reviewed-by: Bryan Mills <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
1 parent 040dbf9 commit f6360cf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/syscall/syscall.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
// err is an operating system error describing the failure.
1919
// On most systems, that error has type syscall.Errno.
2020
//
21-
// Deprecated: this package is locked down. Callers should use the
22-
// corresponding package in the golang.org/x/sys repository instead.
23-
// That is also where updates required by new systems or versions
24-
// should be applied. See https://golang.org/s/go1.4-syscall for more
25-
// information.
21+
// NOTE: Most of the functions, types, and constants defined in
22+
// this package are also available in the [golang.org/x/sys] package.
23+
// That package has more system call support than this one,
24+
// and most new code should prefer that package where possible.
25+
// See https://golang.org/s/go1.4-syscall for more information.
2626
package syscall
2727

2828
import "internal/bytealg"

0 commit comments

Comments
 (0)