From fc3a06c3d817dadbc87d7522e5f00defbaa3bfd2 Mon Sep 17 00:00:00 2001 From: Fredrik Averpil Date: Sun, 3 Nov 2024 12:05:34 +0100 Subject: [PATCH] docs: mention cgo_enabled and race nuance on macOS --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2896d964..53624533 100644 --- a/README.md +++ b/README.md @@ -183,8 +183,10 @@ consider setting up neotest and its adapters in a > > The `-race` flag (in `go_test_args`) requires CGO to be enabled > (`CGO_ENABLED=1` is the default) and a C compiler (such as GCC) to be -> installed. I have included the `-race` argument as default, as it provides -> good production defaults. +> installed. However, since Go 1.20, this is not a requirement on macOS. I have +> included the `-race` argument as default, as it provides good production +> defaults. See [this issue](https://github.com/golang/go/issues/9918) for more +> details. > [!IMPORTANT] >