aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-10-29 23:49:59 +0900
committerOphestra <cat@gensokyo.uk>2026-10-29 23:49:59 +0900
commitc1f95b119f2688ceec4cea4194ee06ba28a0ba86 (patch)
tree47864c04bcfaad984e05469768bb79411214172a
parentcdc12457a8a4780a0cbcc9797b67a13ce53f0d33 (diff)
hst: validate CGO_ENABLED=0
This builds the package CGO_ENABLED=0 via go:generate. Signed-off-by: Ophestra <cat@gensokyo.uk>
-rw-r--r--hst/hst_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/hst/hst_test.go b/hst/hst_test.go
index 83ea225e..388bddf9 100644
--- a/hst/hst_test.go
+++ b/hst/hst_test.go
@@ -14,6 +14,8 @@ import (
"hakurei.app/message"
)
+//go:generate env CGO_ENABLED=0 go build .
+
func TestAppError(t *testing.T) {
t.Parallel()