Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Ensure we have the targets needed for bundling (#38688)

Conrad Irwin25a182745673
diff --git a/script/bundle-mac b/script/bundle-mac
index f2a5bf313d5..0bac0f75ee5 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