diff --git a/zshenv b/zshenv index c1a11e7..68a9584 100644 --- a/zshenv +++ b/zshenv @@ -33,6 +33,9 @@ if [[ "$OSTYPE" == "darwin"* ]]; then if [ -f "/etc/zshenv" ]; then source "/etc/zshenv" fi + + # Fix Go race detector issues: https://github.com/golang/go/issues/49138 + export MallocNanoZone=0 fi # ==============================================================================