fix cargo-env on darwin-aarch64

This commit is contained in:
Damien Elmes 2021-12-04 17:03:03 +10:00
parent 6de2dc6cd4
commit 43c41d76ba

View file

@ -13,7 +13,7 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
if [ "$(arch)" == "i386" ]; then if [ "$(arch)" == "i386" ]; then
export PATH="$BAZEL_EXTERNAL/rust_darwin_x86_64/bin:$PATH" export PATH="$BAZEL_EXTERNAL/rust_darwin_x86_64/bin:$PATH"
else else
export PATH="$BAZEL_EXTERNAL/rust_darwin_arm64/bin:$PATH" export PATH="$BAZEL_EXTERNAL/rust_darwin_aarch64/bin:$PATH"
fi fi
else else
if [ "$(arch)" == "aarch64" ]; then if [ "$(arch)" == "aarch64" ]; then