diff --git a/script/bundle-mac b/script/bundle-mac index f2a5bf313d..0bac0f75ee 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