diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-10-29 23:49:59 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-10-29 23:49:59 +0900 |
| commit | c1f95b119f2688ceec4cea4194ee06ba28a0ba86 (patch) | |
| tree | 47864c04bcfaad984e05469768bb79411214172a /hst | |
| parent | cdc12457a8a4780a0cbcc9797b67a13ce53f0d33 (diff) | |
hst: validate CGO_ENABLED=0
This builds the package CGO_ENABLED=0 via go:generate.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'hst')
| -rw-r--r-- | hst/hst_test.go | 2 |
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() |
