aboutsummaryrefslogtreecommitdiff
path: root/src/plugin/plugin_dlopen.go
diff options
context:
space:
mode:
authorDavid Crawshaw <crawshaw@golang.org>2016-08-25 22:04:04 -0400
committerDavid Crawshaw <crawshaw@golang.org>2016-09-16 14:49:27 +0000
commit8607bed7445100993938ee96a028627461fce9d3 (patch)
tree2bceb0d75d1346aca4b58e4bf8d73d30c52961cf /src/plugin/plugin_dlopen.go
parenteced6754c2f2ce98cb5bacbdbfcbbaa4a6a69d53 (diff)
downloadgo-8607bed7445100993938ee96a028627461fce9d3.tar.xz
runtime: avoid dependence on main symbol
For -buildmode=plugin, this lets the linker drop the main.main symbol out of the binary while including most of the runtime. (In the future it should be possible to drop the entire runtime package from plugins.) Change-Id: I3e7a024ddf5cc945e3d8b84bf37a0b7cb2a00eb6 Reviewed-on: https://go-review.googlesource.com/27821 Run-TryBot: David Crawshaw <crawshaw@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/plugin/plugin_dlopen.go')
0 files changed, 0 insertions, 0 deletions