aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2015-07-14 00:34:36 -0400
committerRuss Cox <rsc@golang.org>2015-07-15 04:22:25 +0000
commit91a480c3252c8d67540f41e1761abd7834027d7a (patch)
tree8bfeb8a91bb092a71a2ba2217f1d081be75f690a
parentb2cb3b416c538406c52e8c83a8f833fae812b9fd (diff)
downloadgo-91a480c3252c8d67540f41e1761abd7834027d7a.tar.gz
go-91a480c3252c8d67540f41e1761abd7834027d7a.zip
doc: add cmd/go's -pkgdir build option
Also use more consistent language for the new build options. Change-Id: I88cbe200c13f452713be73d2e00337ddb793b8c6 Reviewed-on: https://go-review.googlesource.com/12172 Reviewed-by: Rob Pike <r@golang.org>
-rw-r--r--doc/go1.5.html26
1 files changed, 20 insertions, 6 deletions
diff --git a/doc/go1.5.html b/doc/go1.5.html
index 7c3a2f294a..da1d05abce 100644
--- a/doc/go1.5.html
+++ b/doc/go1.5.html
@@ -465,15 +465,16 @@ A new <code>cmd</code> wildcard covers the commands.
</li>
<li>
-A new <code>-toolexec</code> flag for building
-allows substitution of a different command to invoke
-the compiler and so on.
-This acts as a custom replacement for <code>go tool</code>.
+A new <code>-asmflags</code> build option
+sets flags to pass to the assembler.
+However,
+the <code>-ccflags</code> build option has been dropped;
+it was specific to the old, now deleted C compiler .
</li>
<li>
-The build subcommand has a <code>-buildmode</code> option tied to the linker,
-as described above.
+A new <code>-buildmode</code> build option
+sets the build mode, described above.
</li>
<li>
@@ -485,6 +486,19 @@ it was specific to the old, now deleted C compiler .
</li>
<li>
+A new <code>-pkgdir</code> build option
+sets the location of installed package archives,
+to help isolate custom builds.
+</li>
+
+<li>
+A new <code>-toolexec</code> build option
+allows substitution of a different command to invoke
+the compiler and so on.
+This acts as a custom replacement for <code>go tool</code>.
+</li>
+
+<li>
The <code>test</code> subcommand now has a <code>-count</code>
flag to specify how many times to run each test and benchmark.
<a href="/pkg/testing/"><code>testing</code></a> package