diff --git a/script/bundle-mac b/script/bundle-mac index f2a5bf313d53d5dfb084f5ae5035e55a68eff739..0bac0f75ee5ade49eba842257e854420f9bca82f 100755 --- a/script/bundle-mac +++ b/script/bundle-mac @@ -90,6 +90,9 @@ if [ "$local_arch" = true ]; then echo "Building for local target only." cargo build ${build_flag} --package zed --package cli --package remote_server else + rustup target add aarch64-apple-darwin + rustup target add x86_64-apple-darwin + echo "Compiling zed binaries" cargo build ${build_flag} --package zed --package cli --target aarch64-apple-darwin --target x86_64-apple-darwin # Build remote_server in separate invocation to prevent feature unification from other crates