mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 03:06:40 +00:00
fix(env): set env var to fix Go race detector issues on macOS Monterey
This commit is contained in:
3
zshenv
3
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
|
||||
|
||||
# ==============================================================================
|
||||
|
||||
Reference in New Issue
Block a user