commit | a5d23fceab47ff3f0cfacfecbe74f2f853a6ed1c | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Thu Jul 30 09:01:22 2015 -0700 |
committer | Russ Cox <rsc@golang.org> | Thu Jul 30 20:12:06 2015 +0000 |
tree | 9f6a15322ecc62d309b3fea48c05b6d64a8e2f90 | |
parent | 4bd8040d47fce4445ce73278b8528c6784e3ef25 [diff] |
doc: add go1.5 note about change to zero-sized fields in cgo This documents the change made in https://golang.org/cl/12864 for https://golang.org/issue/11925. Update #11925. Change-Id: Id09f2a489ea947a725ed12c9cf793e5daef07a06 Reviewed-on: https://go-review.googlesource.com/12866 Reviewed-by: David Crawshaw <crawshaw@golang.org>
diff --git a/doc/go1.5.html b/doc/go1.5.html index 4e173d1..12a8cca 100644 --- a/doc/go1.5.html +++ b/doc/go1.5.html
@@ -598,6 +598,12 @@ On Windows, cgo now uses external linking by default. </p> +<p> +When a C struct ends with a zero-sized field, but the struct itself is +not zero-sized, Go code can no longer refer to the zero-sized field. +Any such references will have to be rewritten. +</p> + <h2 id="performance">Performance</h2> <p>