From 9759f9e947ccaf50d428349219a9e0ebc7600901 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Mon, 25 Oct 2021 17:35:45 +0200 Subject: [PATCH] Uncomment script/bundle lines Co-Authored-By: Nathan Sobo --- script/bundle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/bundle b/script/bundle index e77f5407dd..6b60ffbdf2 100755 --- a/script/bundle +++ b/script/bundle @@ -13,10 +13,10 @@ cargo bundle --release --target x86_64-apple-darwin popd > /dev/null # Build the binary for aarch64 (Apple M1) -# cargo build --release --target aarch64-apple-darwin +cargo build --release --target aarch64-apple-darwin # Replace the bundle's binary with a "fat binary" that combines the two architecture-specific binaries -# lipo -create target/x86_64-apple-darwin/release/Zed target/aarch64-apple-darwin/release/Zed -output target/x86_64-apple-darwin/release/bundle/osx/Zed.app/Contents/MacOS/zed +lipo -create target/x86_64-apple-darwin/release/Zed target/aarch64-apple-darwin/release/Zed -output target/x86_64-apple-darwin/release/bundle/osx/Zed.app/Contents/MacOS/zed # Bundle rust-analyzer cp vendor/bin/rust-analyzer-x86_64-apple-darwin target/x86_64-apple-darwin/release/bundle/osx/Zed.app/Contents/Resources/