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 --- hst/instance_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'hst') diff --git a/hst/instance_test.go b/hst/instance_test.go index 5be9fc8b..290e7fbd 100644 --- a/hst/instance_test.go +++ b/hst/instance_test.go @@ -6,11 +6,13 @@ import ( "reflect" "testing" "time" - _ "unsafe" + _ "unsafe" // for go:linkname "hakurei.app/hst" ) +// Made available here to check time encoding behaviour of [hst.ID]. +// //go:linkname newInstanceID hakurei.app/hst.newInstanceID func newInstanceID(id *hst.ID, p uint64) error -- cgit v1.3.1