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 --- container/check/absolute_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'container/check') diff --git a/container/check/absolute_test.go b/container/check/absolute_test.go index 466bbacb..91cd3c92 100644 --- a/container/check/absolute_test.go +++ b/container/check/absolute_test.go @@ -14,8 +14,10 @@ import ( . "hakurei.app/container/check" ) +// unsafeAbs returns check.Absolute on any string value. +// //go:linkname unsafeAbs hakurei.app/container/check.unsafeAbs -func unsafeAbs(_ string) *Absolute +func unsafeAbs(pathname string) *Absolute func TestAbsoluteError(t *testing.T) { t.Parallel() -- cgit v1.3.1