Skip to content

Commit 1443a3e

Browse files
ExtraE113gopherbot
authored andcommitted
plugin: include a warning about race detector compatability in docs
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: a5b4ff4 GitHub-Pull-Request: #68792 Reviewed-on: https://go-review.googlesource.com/c/go/+/604275 Reviewed-by: Ian Lance Taylor <[email protected]> Reviewed-by: Cherry Mui <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent f053f4f commit 1443a3e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/plugin/plugin.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
// macOS, making them unsuitable for applications intended to be
3030
// portable.
3131
//
32+
// - Plugins are poorly supported by the Go race detector. Even simple
33+
// race conditions may not be automatically detected. See
34+
// https://go.dev/issue/24245 for more information.
35+
//
3236
// - Applications that use plugins may require careful configuration
3337
// to ensure that the various parts of the program be made available
3438
// in the correct location in the file system (or container image).

0 commit comments

Comments
 (0)