From: Elias Naur Date: Mon, 21 Jan 2019 15:12:46 +0000 (+0100) Subject: doc/go1.12.html: document rejection of mangled C names X-Git-Tag: go1.12rc1~50 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=cad6d1fef5147d31e94ee83934c8609d3ad150b7;p=gostls13.git 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 TryBot-Result: Gobot Gobot Reviewed-by: Ian Lance Taylor --- 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.

+

+ Mangled C names are no longer accepted in packages that use Cgo. Use the Cgo + names instead. For example, use the documented cgo name C.char + rather than the mangled name _Ctype_char that cgo generates. +

+

Modules