cmd/go: refactor cgo logic
Extract "cgo -dynimport" and "ld -r" logic into separate helper methods to make (*builder).cgo somewhat more manageable. Fixes #16650. Change-Id: I3e4d77ff3791528b1233467060d3ea83cb854acb Reviewed-on: https://go-review.googlesource.com/27270 Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Showing
Please register or sign in to comment