aboutsummaryrefslogtreecommitdiff
path: root/src/plugin
diff options
context:
space:
mode:
authorAyan George <ayan@ayan.net>2019-08-23 11:38:12 -0400
committerIan Lance Taylor <iant@golang.org>2019-09-03 14:27:24 +0000
commit88ca80b32286eb337185151249606dec302fe1d9 (patch)
tree21a441ef5ba66f12ce91929f25c8d4efcd62c817 /src/plugin
parent9f5127bfebfc8c3acec4dbb374ff5c0d4c586565 (diff)
downloadgo-88ca80b32286eb337185151249606dec302fe1d9.tar.gz
go-88ca80b32286eb337185151249606dec302fe1d9.zip
plugin: add freebsd/amd64 plugin support
Change-Id: I4e7b0e99fd0f6f7d6a8ef60e9d3cb5baeb80a2b6 Reviewed-on: https://go-review.googlesource.com/c/go/+/191617 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/plugin')
-rw-r--r--src/plugin/plugin.go2
-rw-r--r--src/plugin/plugin_dlopen.go2
-rw-r--r--src/plugin/plugin_stubs.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/plugin/plugin.go b/src/plugin/plugin.go
index 5506e95692..4a524bfa3f 100644
--- a/src/plugin/plugin.go
+++ b/src/plugin/plugin.go
@@ -13,7 +13,7 @@
// already part of the program are called. The main function is not run.
// A plugin is only initialized once, and cannot be closed.
//
-// Currently plugins are only supported on Linux and macOS.
+// Currently plugins are only supported on Linux, FreeBSD, and macOS.
// Please report any issues.
package plugin
diff --git a/src/plugin/plugin_dlopen.go b/src/plugin/plugin_dlopen.go
index 03d3f08717..9200fdc3cb 100644
--- a/src/plugin/plugin_dlopen.go
+++ b/src/plugin/plugin_dlopen.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// +build linux,cgo darwin,cgo
+// +build linux,cgo darwin,cgo freebsd,cgo
package plugin
diff --git a/src/plugin/plugin_stubs.go b/src/plugin/plugin_stubs.go
index 40a41643b1..1893203017 100644
--- a/src/plugin/plugin_stubs.go
+++ b/src/plugin/plugin_stubs.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// +build !linux,!darwin !cgo
+// +build !linux,!freebsd,!darwin !cgo
package plugin