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
This commit is contained in:
Ezra Newman 2024-08-08 14:20:32 -04:00 committed by GitHub
parent 9177e12ccc
commit eb3f6467ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,10 @@
// macOS, making them unsuitable for applications intended to be
// portable.
//
// - Plugins are poorly supported by the Go race detector. Even simple
// race conditions may not be automatically detected. See
// [this issue](https://github.com/golang/go/issues/24245) for more information.
//
// - Applications that use plugins may require careful configuration
// to ensure that the various parts of the program be made available
// in the correct location in the file system (or container image).