From e71276c7417fcaed566478b37b0f68031a7fc157 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Thu, 9 Jul 2015 10:10:12 +1000 Subject: [PATCH] doc: add -test.count and get -insecure to go1.5.html Change-Id: Ie3d603a95826b9b6a7acd4825991f24c3c61408b Reviewed-on: https://go-review.googlesource.com/11956 Reviewed-by: Russ Cox --- doc/go1.5.html | 54 +++++++++++++++++++++++--------------------------- 1 file changed, 25 insertions(+), 29 deletions(-) diff --git a/doc/go1.5.html b/doc/go1.5.html index 6337e8afa1..14b1938994 100644 --- a/doc/go1.5.html +++ b/doc/go1.5.html @@ -355,25 +355,18 @@

Assembler

-Perhaps more important is that some discrepancies between the -architectures in how the PC and SP are handled have been -eliminated. -Sometimes these registers represented hardware -registers, and sometimes pseudo-registers. -As of Go 1.5, the names PC and SP -are always pseudo-registers. -To refer to the hardware register, use the alternate representation such -as R13 for the stack pointer and -R15 for the hardware program counter on x86. -(The names are different on other architectures.) -To help enforce this change, references to the -SP and PC -pseudo-registers now always require an identifier: -f+4(SP) not 4(SP); -it is a syntax error to omit the identifier. -Uses of SP (say) as a hardware register -tend to omit the name, and they will now be flagged by -the assembler. +Perhaps more important is that on machines where +SP or PC is only an alias +for a numbered register, +such as R13 for the stack pointer and +R15 for the hardware program counter +on x86, +a reference to such a register that does not include a symbol +is now illegal. +For example, SP and 4(SP) are +illegal but sym+4(SP) is fine. +On such machines, to refer to the hardware register use its +true R name.

@@ -487,11 +480,15 @@

Go command

An -asmflags build option has been added to provide flags to the assembler. However, -the -ccflags build option has been dropped. TODO: why? +the -ccflags build option has been dropped; +it was specific to the old, now deleted C compiler .
  • -cmd/go, testing: add go test -count (https://golang.org/cl/10669) +The test subcommand now has a -count +flag to specify how many times to run each test and benchmark. +testing package +does the work here, through by the -test.count flag.
  • @@ -503,6 +500,12 @@

    Go command

    and $DOLLAR expands to a dollar sign.
  • +
  • +The get subcommand now has a -insecure +flag that must be enabled if fetching from an insecure repository, one that +does not encrypt the connection. +
  • +

    Go vet command

    @@ -800,7 +803,7 @@

    Minor changes to the library

    Certificate struct, and the client requests them and exposes them, if present, in its ConnectionState struct. -The crytpo/tls server implementation +The crytpo/tls server implementation will also now always call the GetCertificate function in the Config struct @@ -1039,13 +1042,6 @@

    Minor changes to the library

    variable. -
  • -The net/http package's -Request type adds a -Cancel field, a channel to signal that the request has been -canceled. -
  • -
  • The net/mail package adds a AddressParser