From 19cc9f91fa233e6846cbb582e26c31fa9748730d Mon Sep 17 00:00:00 2001
From: Dave Cheney
Date: Thu, 4 Apr 2013 16:13:29 +1100
Subject: [PATCH] doc/go1.1.html: mention cgo and cross compilation
R=r, minux.ma, bradfitz
CC=golang-dev
https://golang.org/cl/8304043
---
doc/go1.1.html | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/doc/go1.1.html b/doc/go1.1.html
index 6564b8f75d..fac922910a 100644
--- a/doc/go1.1.html
+++ b/doc/go1.1.html
@@ -420,6 +420,17 @@ An ARMv6 or later processor is required for freebsd/arm
or
Go 1.1 adds experimental support for cgo
on linux/arm
.
+Cross compilation
+
+
+When cross-compiling, the go
tool will disable cgo
+support by default.
+
+
+
+To explicitly enable cgo
, set CGO_ENABLED=1
.
+
+
--
2.50.0