From 25a182745673822a72fbff21d5b27999fe7e679a Mon Sep 17 00:00:00 2001 From: Conrad Irwin Date: Mon, 22 Sep 2025 21:51:03 -0600 Subject: [PATCH] Ensure we have the targets needed for bundling (#38688) Closes #ISSUE Release Notes: - N/A --- script/bundle-mac | 3 +++ 1 file changed, 3 insertions(+) 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