diff options
| author | Russ Cox <rsc@golang.org> | 2023-05-25 08:32:13 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2023-05-25 14:37:57 +0000 |
| commit | d23669db7de13aec74296ae9bed8bb707f83b773 (patch) | |
| tree | aa54f8f3f535ebae7c74ddf23385b08990dc3be1 /src | |
| parent | fc5c590d8dac4edb7b87b6c943948033a3920266 (diff) | |
| download | go-d23669db7de13aec74296ae9bed8bb707f83b773.tar.xz | |
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 <austin@google.com>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src')
| -rwxr-xr-x | src/buildall.bash | 3 | ||||
| -rw-r--r-- | src/runtime/internal/wasitest/nonblock_test.go | 3 |
2 files changed, 5 insertions, 1 deletions
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 ( |
