diff --git a/src/runtime/os_windows.go b/src/runtime/os_windows.go index 40e7aade1e6..41f8f778489 100644 --- a/src/runtime/os_windows.go +++ b/src/runtime/os_windows.go @@ -49,7 +49,6 @@ const ( //go:cgo_import_dynamic runtime._SetThreadPriority SetThreadPriority%2 "kernel32.dll" //go:cgo_import_dynamic runtime._SetUnhandledExceptionFilter SetUnhandledExceptionFilter%1 "kernel32.dll" //go:cgo_import_dynamic runtime._SetWaitableTimer SetWaitableTimer%6 "kernel32.dll" -//go:cgo_import_dynamic runtime._Sleep Sleep%1 "kernel32.dll" //go:cgo_import_dynamic runtime._SuspendThread SuspendThread%1 "kernel32.dll" //go:cgo_import_dynamic runtime._SwitchToThread SwitchToThread%0 "kernel32.dll" //go:cgo_import_dynamic runtime._TlsAlloc TlsAlloc%0 "kernel32.dll" @@ -103,7 +102,6 @@ var ( _SetThreadPriority, _SetUnhandledExceptionFilter, _SetWaitableTimer, - _Sleep, _SuspendThread, _SwitchToThread, _TlsAlloc,