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/stub/exit_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'container/stub') diff --git a/container/stub/exit_test.go b/container/stub/exit_test.go index e4c4f962..3e71c580 100644 --- a/container/stub/exit_test.go +++ b/container/stub/exit_test.go @@ -7,8 +7,10 @@ import ( "hakurei.app/container/stub" ) +// Made available here to check panic recovery behaviour. +// //go:linkname handleExitNew hakurei.app/container/stub.handleExitNew -func handleExitNew(_ testing.TB) +func handleExitNew(t testing.TB) // overrideTFailNow overrides the Fail and FailNow method. type overrideTFailNow struct { -- cgit v1.3.1