<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go/src/plugin, branch makepkg</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=makepkg</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=makepkg'/>
<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>cmd/link: establish dependable package initialization order</title>
<updated>2023-04-14T16:55:22Z</updated>
<author>
<name>Keith Randall</name>
<email>khr@golang.org</email>
</author>
<published>2023-01-13T04:25:39Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=2b92c39fe08101ed8c9f032d577df4cc882d08d7'/>
<id>urn:sha1:2b92c39fe08101ed8c9f032d577df4cc882d08d7</id>
<content type='text'>
(This is a retry of CL 462035 which was reverted at 474976.
The only change from that CL is the aix fix SRODATA-&gt;SNOPTRDATA
at inittask.go:141)

As described here:

https://github.com/golang/go/issues/31636#issuecomment-493271830

"Find the lexically earliest package that is not initialized yet,
but has had all its dependencies initialized, initialize that package,
 and repeat."

Simplify the runtime a bit, by just computing the ordering required
in the linker and giving a list to the runtime.

Update #31636
Fixes #57411

RELNOTE=yes

Change-Id: I28c09451d6aa677d7394c179d23c2c02c503fc56
Reviewed-on: https://go-review.googlesource.com/c/go/+/478916
Reviewed-by: Than McIntosh &lt;thanm@google.com&gt;
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
Run-TryBot: Keith Randall &lt;khr@golang.org&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>Revert "cmd/link: establish dependable package initialization order"</title>
<updated>2023-03-09T19:19:41Z</updated>
<author>
<name>Keith Randall</name>
<email>khr@golang.org</email>
</author>
<published>2023-03-09T16:31:41Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=642542cb3c4b672cb34cde44a415c05bf1560a5e'/>
<id>urn:sha1:642542cb3c4b672cb34cde44a415c05bf1560a5e</id>
<content type='text'>
This reverts commit ce2a609909d9de3391a99a00fe140506f724f933.
aka CL 462035

Reason for revert: this CL is causing some problems in some internal Google programs.

Change-Id: I4476b8d8d2c3d7b5703d1d85c93baebb4b4e5d26
Reviewed-on: https://go-review.googlesource.com/c/go/+/474976
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
Run-TryBot: Keith Randall &lt;khr@golang.org&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Than McIntosh &lt;thanm@google.com&gt;
</content>
</entry>
<entry>
<title>cmd/link: establish dependable package initialization order</title>
<updated>2023-03-03T23:11:37Z</updated>
<author>
<name>Keith Randall</name>
<email>khr@golang.org</email>
</author>
<published>2023-01-13T04:25:39Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=ce2a609909d9de3391a99a00fe140506f724f933'/>
<id>urn:sha1:ce2a609909d9de3391a99a00fe140506f724f933</id>
<content type='text'>
As described here:

https://github.com/golang/go/issues/31636#issuecomment-493271830

"Find the lexically earliest package that is not initialized yet,
but has had all its dependencies initialized, initialize that package,
 and repeat."

Simplify the runtime a bit, by just computing the ordering required
in the linker and giving a list to the runtime.

Update #31636
Fixes #57411

RELNOTE=yes

Change-Id: I1e4d3878ebe6e8953527aedb730824971d722cac
Reviewed-on: https://go-review.googlesource.com/c/go/+/462035
Reviewed-by: Than McIntosh &lt;thanm@google.com&gt;
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
Run-TryBot: Keith Randall &lt;khr@golang.org&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&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: add missing periods in comments</title>
<updated>2022-11-18T17:59:44Z</updated>
<author>
<name>cui fliter</name>
<email>imcusg@gmail.com</email>
</author>
<published>2022-11-11T11:22:35Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=b2faff18ce28edad98303d2c3134dec1331fd7b5'/>
<id>urn:sha1:b2faff18ce28edad98303d2c3134dec1331fd7b5</id>
<content type='text'>
Change-Id: I69065f8adf101fdb28682c55997f503013a50e29
Reviewed-on: https://go-review.googlesource.com/c/go/+/449757
Auto-Submit: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Joedian Reid &lt;joedian@golang.org&gt;
Reviewed-by: Keith Randall &lt;khr@google.com&gt;
Reviewed-by: Keith Randall &lt;khr@golang.org&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Run-TryBot: Joedian Reid &lt;joedian@golang.org&gt;
Run-TryBot: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
</content>
</entry>
<entry>
<title>plugin: enable plugin test on linux/arm64</title>
<updated>2022-08-10T02:14:09Z</updated>
<author>
<name>eric fang</name>
<email>eric.fang@arm.com</email>
</author>
<published>2022-06-28T09:58:19Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=5531838c046eb1a94b142deeb89d7d8d9be3fc14'/>
<id>urn:sha1:5531838c046eb1a94b142deeb89d7d8d9be3fc14</id>
<content type='text'>
The test passed on linux/arm64, so re-enable it.

Change-Id: Ib5252d89b58f0de256993065e27b64c4676f5103
Reviewed-on: https://go-review.googlesource.com/c/go/+/414975
Reviewed-by: David Chase &lt;drchase@google.com&gt;
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
Run-TryBot: Eric Fang &lt;eric.fang@arm.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>all: separate doc comment from //go: directives</title>
<updated>2022-04-05T17:54:15Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2022-01-31T01:13:43Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=9839668b5619f45e293dd40339bf0ac614ea6bee'/>
<id>urn:sha1:9839668b5619f45e293dd40339bf0ac614ea6bee</id>
<content type='text'>
A future change to gofmt will rewrite

	// Doc comment.
	//go:foo

to

	// Doc comment.
	//
	//go:foo

Apply that change preemptively to all comments (not necessarily just doc comments).

For #51082.

Change-Id: Iffe0285418d1e79d34526af3520b415a12203ca9
Reviewed-on: https://go-review.googlesource.com/c/go/+/384260
Trust: Russ Cox &lt;rsc@golang.org&gt;
Run-TryBot: Russ Cox &lt;rsc@golang.org&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
</feed>
