]> Cypherpunks repositories - gostls13.git/commitdiff
doc: document GODEBUG=netdns=X and netcgo in go1.5.txt
authorBrad Fitzpatrick <bradfitz@golang.org>
Fri, 17 Jul 2015 16:25:45 +0000 (09:25 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sat, 18 Jul 2015 01:00:55 +0000 (01:00 +0000)
Change-Id: I720aeb1511e407750617e23c4cba1edcddf745bb
Reviewed-on: https://go-review.googlesource.com/12326
Reviewed-by: Rob Pike <r@golang.org>
doc/go1.5.html

index 87dbfde33b7f98b813a92a66891057bd4df7ef4b..bcfde4397189fc7b2216a75b9c97b0fe1eec1743 100644 (file)
@@ -711,6 +711,11 @@ system resources.
 The decision of how to run the resolver applies at run time, not build time.
 The <code>netgo</code> build tag that has been used to enforce the use
 of the Go resolver is no longer necessary, although it still works.
+A new <code>netcgo</code> build tag forces the use of the <code>cgo</code> resolver at
+build time.
+To force <code>cgo</code> resolution at run time set
+<code>GODEBUG=netdns=cgo</code> in the environment.
+More debug options are documented <a href="https://golang.org/cl/11584">here</a>.
 </p>
 
 <p>