aboutsummaryrefslogtreecommitdiffhomepage
path: root/hst
diff options
context:
space:
mode:
Diffstat (limited to 'hst')
-rw-r--r--hst/instance_test.go4
1 files changed, 3 insertions, 1 deletions
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