From 6b88f9afb9f8cd6312e0313e51e23d35dc23310b Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 1 Nov 2026 00:21:24 +0900 Subject: cmd/dist: disable testing if cross-compiling QEMU does not support most things worth testing, and supported tests that invoke a binary still requires binfmt to work correctly. Signed-off-by: Ophestra --- cmd/dist/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/dist/main.go b/cmd/dist/main.go index b147ade5..b3b58b56 100644 --- a/cmd/dist/main.go +++ b/cmd/dist/main.go @@ -192,7 +192,7 @@ func main() { ) log.Println() - if runTests { + if arch == runtime.GOARCH && runTests { log.Println("##### Testing Hakurei.") mustRun( ctx, nil, "go", "test", raceFlag, -- cgit v1.3.1