diff --git a/app/mac/build-and-unify b/app/mac/build-and-unify index 6cff315439..71b88a1385 100755 --- a/app/mac/build-and-unify +++ b/app/mac/build-and-unify @@ -27,8 +27,7 @@ export MOZ_BUILD_DATE=`date "+%Y%m%d%H%M%S"` # Install required Rust version rustup toolchain install $RUST_VERSION -rustup target add aarch64-apple-darwin -rustup target add x86_64-apple-darwin +rustup target add --toolchain $RUST_VERSION aarch64-apple-darwin x86_64-apple-darwin rustup default $RUST_VERSION cp "$SCRIPT_DIR/mozconfig" "$GECKO_PATH"