aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/plugin/plugin.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/plugin/plugin.go')
-rw-r--r--libgo/go/plugin/plugin.go8
1 files changed, 3 insertions, 5 deletions
diff --git a/libgo/go/plugin/plugin.go b/libgo/go/plugin/plugin.go
index b86099a..c774465 100644
--- a/libgo/go/plugin/plugin.go
+++ b/libgo/go/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.
@@ -44,9 +45,6 @@ func (p *Plugin) Lookup(symName string) (Symbol, error) {
//
// package main
//
-// // // No C code needed.
-// import "C"
-//
// import "fmt"
//
// var V int