Skip to content

Commit eb3f646

Browse files
authored
Include warning about race detector compatability in plugin documentation
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
1 parent 9177e12 commit eb3f646

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+
// [this issue](https://github.com/golang/go/issues/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)