mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 07: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
|
if [ -f "/etc/zshenv" ]; then
|
||||||
source "/etc/zshenv"
|
source "/etc/zshenv"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Fix Go race detector issues: https://github.com/golang/go/issues/49138
|
||||||
|
export MallocNanoZone=0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user