mirror of
https://github.com/golang/sys.git
synced 2026-02-08 11:46:04 +03:00
Some functions that x/sys/windows will eventually have won't be available on older versions of Windows, and in general we can expect Microsoft to continue to add functions to newer builds of Windows 10. Therefore, we introduces a new notation for marking functions that might not exist, letting the caller handle the situation without a panic. Change-Id: Ia66bf4aab601357198872c5cd29b6ca7c3bc6969 Reviewed-on: https://go-review.googlesource.com/c/sys/+/269938 Run-TryBot: Jason A. Donenfeld <Jason@zx2c4.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Alex Brainman <alex.brainman@gmail.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Trust: Jason A. Donenfeld <Jason@zx2c4.com>