From abeb67964f52f245f7d529e4dfe01f8347932bfd Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 13 Nov 2025 07:08:07 +0900 Subject: treewide: document linkname uses These provide justification for each use of linkname. Poorly thought out uses of linkname are removed. Signed-off-by: Ophestra --- internal/outcome/main.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/outcome') diff --git a/internal/outcome/main.go b/internal/outcome/main.go index 1f02fafb..8bf666b2 100644 --- a/internal/outcome/main.go +++ b/internal/outcome/main.go @@ -12,6 +12,8 @@ import ( // IsPollDescriptor reports whether fd is the descriptor being used by the poller. // +// Made available here to determine and reject impossible fd. +// //go:linkname IsPollDescriptor internal/poll.IsPollDescriptor func IsPollDescriptor(fd uintptr) bool -- cgit v1.3.1