mirror of https://github.com/golang/go.git
Introduce GOOS=ios for iOS systems. GOOS=ios matches "darwin" build tag, like GOOS=android matches "linux" and GOOS=illumos matches "solaris". Only ios/arm64 is supported (ios/amd64 is not). GOOS=ios and GOOS=darwin remain essentially the same at this point. They will diverge at later time, to differentiate macOS and iOS. Uses of GOOS=="darwin" are changed to (GOOS=="darwin" || GOOS=="ios"), except if it clearly means macOS (e.g. GOOS=="darwin" && GOARCH=="amd64"), it remains GOOS=="darwin". Updates #38485. Change-Id: I4faacdc1008f42434599efb3c3ad90763a83b67c Reviewed-on: https://go-review.googlesource.com/c/go/+/254740 Trust: Cherry Zhang <cherryyz@google.com> Run-TryBot: Cherry Zhang <cherryyz@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Austin Clements <austin@google.com> |
||
|---|---|---|
| .. | ||
| copy_file_range_linux.go | ||
| errno_unix.go | ||
| errno_windows.go | ||
| error_linux_test.go | ||
| error_stub_test.go | ||
| error_test.go | ||
| export_posix_test.go | ||
| export_test.go | ||
| export_windows_test.go | ||
| fcntl_js.go | ||
| fcntl_libc.go | ||
| fcntl_syscall.go | ||
| fd.go | ||
| fd_fsync_darwin.go | ||
| fd_fsync_posix.go | ||
| fd_fsync_windows.go | ||
| fd_io_plan9.go | ||
| fd_mutex.go | ||
| fd_mutex_test.go | ||
| fd_opendir_darwin.go | ||
| fd_plan9.go | ||
| fd_poll_js.go | ||
| fd_poll_runtime.go | ||
| fd_posix.go | ||
| fd_posix_test.go | ||
| fd_unix.go | ||
| fd_windows.go | ||
| fd_windows_test.go | ||
| fd_writev_darwin.go | ||
| fd_writev_illumos.go | ||
| fd_writev_unix.go | ||
| hook_cloexec.go | ||
| hook_unix.go | ||
| hook_windows.go | ||
| iovec_illumos.go | ||
| iovec_unix.go | ||
| read_test.go | ||
| sendfile_bsd.go | ||
| sendfile_linux.go | ||
| sendfile_solaris.go | ||
| sendfile_windows.go | ||
| sock_cloexec.go | ||
| sockopt.go | ||
| sockopt_linux.go | ||
| sockopt_unix.go | ||
| sockopt_windows.go | ||
| sockoptip.go | ||
| splice_linux.go | ||
| strconv.go | ||
| sys_cloexec.go | ||
| writev.go | ||
| writev_test.go | ||