runtime/internal/syscall: build dummy package if not Linux
authorIan Lance Taylor <iant@golang.org>
Mon, 21 Feb 2022 17:50:28 +0000 (09:50 -0800)
committerIan Lance Taylor <iant@golang.org>
Mon, 21 Feb 2022 21:24:38 +0000 (13:24 -0800)
commita7eeaa48986f37badb78717e3c138a8d02bb01a6
treeaba52b475b168140ffd1f095821de8f21f11e818
parentce09ab17ddd21f73ff2caf6eec3b0ee9b0e1a11e
runtime/internal/syscall: build dummy package if not Linux

Fixes libgo build on non-Linux systems.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/387134
gcc/go/gofrontend/MERGE
libgo/go/runtime/internal/syscall/syscall_other.go [new file with mode: 0644]