@@ -30,7 +30,11 @@ <h2 id="introduction">DRAFT RELEASE NOTES - Introduction to Go 1.10</h2>
30
30
</ p >
31
31
32
32
< 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 > .
34
38
</ p >
35
39
36
40
< h2 id ="language "> Changes to the language</ h2 >
@@ -271,7 +275,13 @@ <h3 id="cgo">Cgo</h3>
271
275
</ p >
272
276
273
277
< 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 > .
275
285
</ p >
276
286
277
287
< p >
@@ -545,7 +555,11 @@ <h3 id="asm">Assembler</h3>
545
555
< h3 id ="gccgo "> Gccgo</ h3 >
546
556
547
557
< 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.
549
563
</ p >
550
564
551
565
< h2 id ="runtime "> Runtime</ h2 >
@@ -756,13 +770,13 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
756
770
< dl id ="crypto/x509 "> < dt > < a href ="/pkg/crypto/x509/ "> crypto/x509</ a > </ dt >
757
771
< dd >
758
772
< 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
760
775
names contained in the certificate, not just the one name that a client has asked about.
761
776
Extended key usage restrictions are similarly now checked all at once.
762
777
As a result, after a certificate has been validated, now it can be trusted in its entirety.
763
778
It is no longer necessary to revalidate the certificate for each additional name
764
779
or key usage.
765
- TODO: Link to docs that may not exist yet.
766
780
</ p >
767
781
768
782
< p >
0 commit comments