diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-11-13 07:08:07 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-11-13 07:14:16 +0900 |
| commit | abeb67964f52f245f7d529e4dfe01f8347932bfd (patch) | |
| tree | b2e00cedab6721261098dee789360571bdefa0cf /container/stub/exit_test.go | |
| parent | bf5d10743f82ea438b1a05939f55d8b0027e98b9 (diff) | |
treewide: document linkname uses
These provide justification for each use of linkname. Poorly thought out uses of linkname are removed.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/stub/exit_test.go')
| -rw-r--r-- | container/stub/exit_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
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 { |
