<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go/src/plugin/plugin.go, branch main</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=main</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2024-08-09T19:50:41Z</updated>
<entry>
<title>plugin: include a warning about race detector compatability in docs</title>
<updated>2024-08-09T19:50:41Z</updated>
<author>
<name>Ezra Newman</name>
<email>33768950+ExtraE113@users.noreply.github.com</email>
</author>
<published>2024-08-09T16:17:49Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=1443a3ea1e5800f6d09c5051406e37349838c151'/>
<id>urn:sha1:1443a3ea1e5800f6d09c5051406e37349838c151</id>
<content type='text'>
As described in #24245, the race detector isn't able to find some race conditions in plugins.
This commit adds a warning about this to the plugins documentation.

Updates #24245

Change-Id: I1a5ab9b5e22b6a254efc639c3c03f75b79214d49
GitHub-Last-Rev: a5b4ff4ca0fe3b7e31d176ffc57d99c17bd84aea
GitHub-Pull-Request: golang/go#68792
Reviewed-on: https://go-review.googlesource.com/c/go/+/604275
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
Auto-Submit: Ian Lance Taylor &lt;iant@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
</content>
</entry>
<entry>
<title>plugin: add available godoc link</title>
<updated>2023-11-06T19:46:10Z</updated>
<author>
<name>cui fliter</name>
<email>imcusg@gmail.com</email>
</author>
<published>2023-11-03T11:19:58Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=f8c5d04e55edcc8eb00a6c8143a2c6d22695f12b'/>
<id>urn:sha1:f8c5d04e55edcc8eb00a6c8143a2c6d22695f12b</id>
<content type='text'>
Change-Id: I371b52215d3f9efdcab1439e7215f340dbf1ec08
Reviewed-on: https://go-review.googlesource.com/c/go/+/539598
Run-TryBot: shuang cui &lt;imcusg@gmail.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Heschi Kreinick &lt;heschi@google.com&gt;
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
</content>
</entry>
<entry>
<title>plugin: fix duplicated word in comment</title>
<updated>2023-04-18T13:43:02Z</updated>
<author>
<name>Oleksandr Redko</name>
<email>oleksandr.red+github@gmail.com</email>
</author>
<published>2023-04-17T09:23:36Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=5e03a9c4b203f529379f913d47ebf8b31cc34699'/>
<id>urn:sha1:5e03a9c4b203f529379f913d47ebf8b31cc34699</id>
<content type='text'>
Change-Id: Ia3174d079e84cf874c2f2f3093a7c6337af32b02
Reviewed-on: https://go-review.googlesource.com/c/go/+/485015
Run-TryBot: Ian Lance Taylor &lt;iant@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Bryan Mills &lt;bcmills@google.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Auto-Submit: Ian Lance Taylor &lt;iant@google.com&gt;
</content>
</entry>
<entry>
<title>plugin: add warning</title>
<updated>2022-11-23T03:37:22Z</updated>
<author>
<name>Alan Donovan</name>
<email>adonovan@google.com</email>
</author>
<published>2022-11-22T03:33:43Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=ee56b3c51016f1db83150d08db4fdb9921230c71'/>
<id>urn:sha1:ee56b3c51016f1db83150d08db4fdb9921230c71</id>
<content type='text'>
The plugin mechanism has a number of serious drawbacks.
This change documents them.

Fixes #56893

Change-Id: I1309ac8520f7471dd9ace5be28a8dc3339fdf2db
Reviewed-on: https://go-review.googlesource.com/c/go/+/452695
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Run-TryBot: Alan Donovan &lt;adonovan@google.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Auto-Submit: Alan Donovan &lt;adonovan@google.com&gt;
</content>
</entry>
<entry>
<title>all: gofmt -w -r 'interface{} -&gt; any' src</title>
<updated>2021-12-13T18:45:54Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2021-12-01T17:15:45Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=2580d0e08d5e9f979b943758d3c49877fb2324cb'/>
<id>urn:sha1:2580d0e08d5e9f979b943758d3c49877fb2324cb</id>
<content type='text'>
And then revert the bootstrap cmd directories and certain testdata.
And adjust tests as needed.

Not reverting the changes in std that are bootstrapped,
because some of those changes would appear in API docs,
and we want to use any consistently.
Instead, rewrite 'any' to 'interface{}' in cmd/dist for those directories
when preparing the bootstrap copy.

A few files changed as a result of running gofmt -w
not because of interface{} -&gt; any but because they
hadn't been updated for the new //go:build lines.

Fixes #49884.

Change-Id: Ie8045cba995f65bd79c694ec77a1b3d1fe01bb09
Reviewed-on: https://go-review.googlesource.com/c/go/+/368254
Trust: Russ Cox &lt;rsc@golang.org&gt;
Run-TryBot: Russ Cox &lt;rsc@golang.org&gt;
Reviewed-by: Robert Griesemer &lt;gri@golang.org&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>plugin: add freebsd/amd64 plugin support</title>
<updated>2019-09-03T14:27:24Z</updated>
<author>
<name>Ayan George</name>
<email>ayan@ayan.net</email>
</author>
<published>2019-08-23T15:38:12Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=88ca80b32286eb337185151249606dec302fe1d9'/>
<id>urn:sha1:88ca80b32286eb337185151249606dec302fe1d9</id>
<content type='text'>
Change-Id: I4e7b0e99fd0f6f7d6a8ef60e9d3cb5baeb80a2b6
Reviewed-on: https://go-review.googlesource.com/c/go/+/191617
Run-TryBot: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
</content>
</entry>
<entry>
<title>plugin: document support for macOS</title>
<updated>2017-12-12T00:59:50Z</updated>
<author>
<name>David Crawshaw</name>
<email>crawshaw@golang.org</email>
</author>
<published>2017-09-23T15:55:02Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=3f5c1adeb8951762a1b0c35194ca0ad6aca25e18'/>
<id>urn:sha1:3f5c1adeb8951762a1b0c35194ca0ad6aca25e18</id>
<content type='text'>
All plugins issues I would call bugs now closed, so
(with some amount of optimism) update the plugin documentation.

Change-Id: Ia421c18a166d7cdf599ac86f2336541c1ef42a0d
Reviewed-on: https://go-review.googlesource.com/65670
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
</content>
</entry>
<entry>
<title>runtime, plugin: error not throw on duplicate open</title>
<updated>2017-09-09T16:26:33Z</updated>
<author>
<name>David Crawshaw</name>
<email>crawshaw@golang.org</email>
</author>
<published>2017-09-02T16:05:35Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=d8ae2156fe08f31f9b20a79b6971638c5bf203b5'/>
<id>urn:sha1:d8ae2156fe08f31f9b20a79b6971638c5bf203b5</id>
<content type='text'>
Along the way, track bad modules. Make sure they don't end up on
the active modules list, and aren't accidentally reprocessed as
new plugins.

Fixes #19004

Change-Id: I8a5e7bb11f572f7b657a97d521a7f84822a35c07
Reviewed-on: https://go-review.googlesource.com/61171
Run-TryBot: David Crawshaw &lt;crawshaw@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
</content>
</entry>
<entry>
<title>plugin: mention that there are known bugs with plugins</title>
<updated>2017-07-28T00:29:08Z</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2017-07-26T16:46:58Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=ac29f30dbb35d8812c865aed6a6ae738a480def3'/>
<id>urn:sha1:ac29f30dbb35d8812c865aed6a6ae738a480def3</id>
<content type='text'>
Change-Id: I9e63661cac2bebc41d7aa3cd80e1920eec22b894
Reviewed-on: https://go-review.googlesource.com/51250
Reviewed-by: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
Reviewed-by: David Crawshaw &lt;crawshaw@golang.org&gt;
</content>
</entry>
<entry>
<title>plugin: remove unnecessary import "C" from example</title>
<updated>2017-02-09T18:32:53Z</updated>
<author>
<name>Francesc Campoy</name>
<email>campoy@golang.org</email>
</author>
<published>2017-02-09T03:12:19Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=38b3661b45ff62de28abc20057503422337330f7'/>
<id>urn:sha1:38b3661b45ff62de28abc20057503422337330f7</id>
<content type='text'>
It seems that it is not needed to import the pseudo package "C"
for the plugin to be built correctly.
Removing it to avoid confusion.

Change-Id: I62838a953ad2889881bfbfd1a36141661565f033
Reviewed-on: https://go-review.googlesource.com/36638
Reviewed-by: David Crawshaw &lt;crawshaw@golang.org&gt;
</content>
</entry>
</feed>
