Commit 19cc9f91 authored by Dave Cheney's avatar Dave Cheney

doc/go1.1.html: mention cgo and cross compilation

R=r, minux.ma, bradfitz
CC=golang-dev
https://golang.org/cl/8304043
parent 485c0662
...@@ -420,6 +420,17 @@ An ARMv6 or later processor is required for <code>freebsd/arm</code> or ...@@ -420,6 +420,17 @@ An ARMv6 or later processor is required for <code>freebsd/arm</code> or
Go 1.1 adds experimental support for <code>cgo</code> on <code>linux/arm</code>. Go 1.1 adds experimental support for <code>cgo</code> on <code>linux/arm</code>.
</p> </p>
<h3 id="crosscompile">Cross compilation</h3>
<p>
When cross-compiling, the <code>go</code> tool will disable <code>cgo</code>
support by default.
</p>
<p>
To explicitly enable <code>cgo</code>, set <code>CGO_ENABLED=1</code>.
</p>
<h2 id="performance">Performance</h2> <h2 id="performance">Performance</h2>
<p> <p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment