From: Russ Cox Date: Thu, 25 May 2023 12:32:13 +0000 (-0400) Subject: all: fix buildall.bash X-Git-Tag: go1.21rc1~234 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d23669db7de13aec74296ae9bed8bb707f83b773;p=gostls13.git all: fix buildall.bash Disable the android and ios builds since cross-compiling fails there. Also make runtime/internal/wasitest not build on systems that don't have syscall.Mkfifo for it to use (including, ironically, wasm itself). Change-Id: I28eb1f216f9952f81a107056e97ee38e350f9287 Reviewed-on: https://go-review.googlesource.com/c/go/+/498255 Reviewed-by: Austin Clements Run-TryBot: Russ Cox TryBot-Result: Gopher Robot --- diff --git a/src/buildall.bash b/src/buildall.bash index e4e3ec37ec..4e9b15bf4b 100755 --- a/src/buildall.bash +++ b/src/buildall.bash @@ -36,7 +36,8 @@ fi GOROOT="$(cd .. && pwd)" gettargets() { - ../bin/go tool dist list | sed -e 's|/|-|' + ../bin/go tool dist list | sed -e 's|/|-|' | + egrep -v '^(android|ios)' # need C toolchain even for cross-compiling echo linux-arm-arm5 } diff --git a/src/runtime/internal/wasitest/nonblock_test.go b/src/runtime/internal/wasitest/nonblock_test.go index 887baab33f..d873ef55fb 100644 --- a/src/runtime/internal/wasitest/nonblock_test.go +++ b/src/runtime/internal/wasitest/nonblock_test.go @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// Not all systems have syscall.Mkfifo. +//go:build !aix && !plan9 && !solaris && !wasm && !windows + package wasi_test import (