fix: architecture on macos arm
This commit is contained in:
parent
42b7ad7c5c
commit
d0af97d72c
1 changed files with 6 additions and 2 deletions
4
zig
4
zig
|
@ -17,6 +17,10 @@ elif [ "$OS" == "Darwin" ] ; then
|
|||
OS=macos
|
||||
fi
|
||||
|
||||
if [ "$ARCH" == "arm64" ] ; then
|
||||
ARCH=aarch64
|
||||
fi
|
||||
|
||||
ZIGVER="zig-$OS-$ARCH-$VERSION"
|
||||
ZIG=$ZIGDIR/$ZIGVER/zig
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue