aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2017-07-26 09:46:58 -0700
committerIan Lance Taylor <iant@golang.org>2017-07-28 00:29:08 +0000
commitac29f30dbb35d8812c865aed6a6ae738a480def3 (patch)
tree999a64b3e42a975efb4cf3984556a3dd2edc9e3d
parent45a4609c0ae214e448612e0bc0846e2f2682f1b2 (diff)
downloadgo-ac29f30dbb35d8812c865aed6a6ae738a480def3.tar.gz
go-ac29f30dbb35d8812c865aed6a6ae738a480def3.zip
plugin: mention that there are known bugs with plugins
Change-Id: I9e63661cac2bebc41d7aa3cd80e1920eec22b894 Reviewed-on: https://go-review.googlesource.com/51250 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: David Crawshaw <crawshaw@golang.org>
-rw-r--r--src/plugin/plugin.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugin/plugin.go b/src/plugin/plugin.go
index 3dc7964048..c774465812 100644
--- a/src/plugin/plugin.go
+++ b/src/plugin/plugin.go
@@ -4,8 +4,6 @@
// Package plugin implements loading and symbol resolution of Go plugins.
//
-// Currently plugins only work on Linux.
-//
// A plugin is a Go main package with exported functions and variables that
// has been built with:
//
@@ -14,6 +12,9 @@
// When a plugin is first opened, the init functions of all packages not
// already part of the program are called. The main function is not run.
// A plugin is only initialized once, and cannot be closed.
+//
+// The plugin support is currently incomplete, only supports Linux,
+// and has known bugs. Please report any issues.
package plugin
// Plugin is a loaded Go plugin.