summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorElias Naur <elias.naur@gmail.com>2019-01-21 16:12:46 +0100
committerElias Naur <elias.naur@gmail.com>2019-01-21 23:31:09 +0000
commitcad6d1fef5147d31e94ee83934c8609d3ad150b7 (patch)
treef9c3ecf465cec99d02b9789a0c2c90d0405f2a6c /doc
parent8e50e48f4ddd434b848240837a02a487d502b3ee (diff)
downloadgo-git-cad6d1fef5147d31e94ee83934c8609d3ad150b7.tar.gz
doc/go1.12.html: document rejection of mangled C names
Change-Id: I27ef49815f55a36379b730b77f7e9a4dd5341507 Reviewed-on: https://go-review.googlesource.com/c/158777 Run-TryBot: Elias Naur <elias.naur@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/go1.12.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/go1.12.html b/doc/go1.12.html
index 0a998c06e0..dddf44b520 100644
--- a/doc/go1.12.html
+++ b/doc/go1.12.html
@@ -139,6 +139,12 @@ go vet -vettool=$(which shadow)
for more information.
</p>
+<p><!-- CL 152657 -->
+ Mangled C names are no longer accepted in packages that use Cgo. Use the Cgo
+ names instead. For example, use the documented cgo name <code>C.char</code>
+ rather than the mangled name <code>_Ctype_char</code> that cgo generates.
+</p>
+
<h3 id="modules">Modules</h3>
<p><!-- CL 148517 -->