From 9ded8b0e97588895e00e93299e4a4a748cfa3a4b Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Tue, 18 Dec 2018 21:32:48 +0100 Subject: [PATCH] doc/go1.12: note that syscall.Getdirentries is no longer supported on iOS Change-Id: I4277f4130b460b42c5b51fd5a5e07f6c0e62163b Reviewed-on: https://go-review.googlesource.com/c/154720 Reviewed-by: Ian Lance Taylor --- doc/go1.12.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/go1.12.html b/doc/go1.12.html index 1ef43d9cf01..f0957eeb7e5 100644 --- a/doc/go1.12.html +++ b/doc/go1.12.html @@ -87,6 +87,11 @@ Do not send CLs removing the interior tags from such phrases.

libSystem is now used when making syscalls on Darwin, ensuring forward-compatibility with future versions of macOS and iOS. + + The switch to libSystem triggered additional App Store + checks for private API usage. Since it is considered private, + syscall.Getdirentries now always fails with + ENOSYS on iOS.

Tools