Skip to content

Commit 21a460d

Browse files
committed
doc/go1.10: address final TODOs
Change-Id: Id71c1ccb584fb308f1615c0ed1255cc8b44bf675 Reviewed-on: https://go-review.googlesource.com/88256 Run-TryBot: Russ Cox <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 40ea396 commit 21a460d

File tree

1 file changed

+19
-5
lines changed

1 file changed

+19
-5
lines changed

doc/go1.10.html

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ <h2 id="introduction">DRAFT RELEASE NOTES - Introduction to Go 1.10</h2>
3030
</p>
3131

3232
<p>
33-
OVERVIEW HERE
33+
This release improves <a href="#build">caching of built packages</a>,
34+
adds <a href="#test">caching of successful test results</a>,
35+
runs <a href="#test-vet">vet automatically during tests</a>,
36+
and
37+
permits <a href="#cgo">passing string values directly between Go and C using cgo</a>.
3438
</p>
3539

3640
<h2 id="language">Changes to the language</h2>
@@ -271,7 +275,13 @@ <h3 id="cgo">Cgo</h3>
271275
</p>
272276

273277
<p>
274-
TODO: CL 70890 "permit passing string values directly between Go and C."
278+
Cgo now supports direct access to Go string values from C.
279+
Functions in the C preamble may use the type <code>_GoString_</code>
280+
to accept a Go string as an argument.
281+
C code may call <code>_GoStringLen</code> and <code>_GoStringPtr</code>
282+
for direct access to the contents of the string.
283+
A value of type <code>_GoString_</code>
284+
may be passed in a call to an exported Go function that takes an argument of Go type <code>string</code>.
275285
</p>
276286

277287
<p>
@@ -545,7 +555,11 @@ <h3 id="asm">Assembler</h3>
545555
<h3 id="gccgo">Gccgo</h3>
546556

547557
<p>
548-
TODO: Words about GCC 8 and Go 1.10.
558+
Due to the alignment of Go's semiannual release schedule with GCC's
559+
annual release schedule,
560+
GCC release 7 contains the Go 1.8.3 version of gccgo.
561+
We expect that the next release, GCC 8, will contain the Go 1.10
562+
version of gccgo.
549563
</p>
550564

551565
<h2 id="runtime">Runtime</h2>
@@ -756,13 +770,13 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
756770
<dl id="crypto/x509"><dt><a href="/pkg/crypto/x509/">crypto/x509</a></dt>
757771
<dd>
758772
<p>
759-
Leaf certificate validation now enforces the name constraints for all
773+
<a href="/pkg/crypto/x509/#Certificate.Verify"><code>Certificate.Verify</code></a>
774+
now enforces the name constraints for all
760775
names contained in the certificate, not just the one name that a client has asked about.
761776
Extended key usage restrictions are similarly now checked all at once.
762777
As a result, after a certificate has been validated, now it can be trusted in its entirety.
763778
It is no longer necessary to revalidate the certificate for each additional name
764779
or key usage.
765-
TODO: Link to docs that may not exist yet.
766780
</p>
767781

768782
<p>

0 commit comments

Comments
 (0)