]> Cypherpunks.ru repositories - gostls13.git/commitdiff
all: fix buildall.bash
authorRuss Cox <rsc@golang.org>
Thu, 25 May 2023 12:32:13 +0000 (08:32 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 25 May 2023 14:37:57 +0000 (14:37 +0000)
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>

src/buildall.bash
src/runtime/internal/wasitest/nonblock_test.go

index e4e3ec37ec4c9f167abbbd74b169d8d9207d14e6..4e9b15bf4bf8109f2a8d40025fdbeda647100de1 100755 (executable)
@@ -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
 }
 
index 887baab33f90f02122ee01bab844081a281680fc..d873ef55fb77cd2e1d0da176a9e9d5ba0c99adee 100644 (file)
@@ -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 (