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 <iant@golang.org>
diff --git a/doc/go1.12.html b/doc/go1.12.html
index 1ef43d9..f0957ee 100644
--- a/doc/go1.12.html
+++ b/doc/go1.12.html
@@ -87,6 +87,11 @@
<p><!-- CL 141639 -->
<code>libSystem</code> is now used when making syscalls on Darwin,
ensuring forward-compatibility with future versions of macOS and iOS.
+ <!-- CL 153338 -->
+ The switch to <code>libSystem</code> triggered additional App Store
+ checks for private API usage. Since it is considered private,
+ <code>syscall.Getdirentries</code> now always fails with
+ <code>ENOSYS</code> on iOS.
</p>
<h2 id="tools">Tools</h2>