Bump minimum macOS version to 10.15.7
This solves an issue with loading Swift libraries when running the x86_64 binary. Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
629d3d473c
commit
de24b4b4e8
5 changed files with 12 additions and 13 deletions
|
@ -3,7 +3,7 @@
|
|||
set -e
|
||||
|
||||
export ZED_BUNDLE=true
|
||||
export MACOSX_DEPLOYMENT_TARGET=10.14
|
||||
export MACOSX_DEPLOYMENT_TARGET=10.15.7
|
||||
|
||||
echo "Installing cargo bundle"
|
||||
cargo install cargo-bundle --version 0.5.0
|
||||
|
@ -12,10 +12,13 @@ rustup target add wasm32-wasi
|
|||
# Deal with versions of macOS that don't include libstdc++ headers
|
||||
export CXXFLAGS="-stdlib=libc++"
|
||||
|
||||
echo "Compiling binaries"
|
||||
echo "Compiling zed binary for aarch64-apple-darwin"
|
||||
cargo build --release --package zed --target aarch64-apple-darwin
|
||||
echo "Compiling zed binary for x86_64-apple-darwin"
|
||||
cargo build --release --package zed --target x86_64-apple-darwin
|
||||
echo "Compiling cli binary for aarch64-apple-darwin"
|
||||
cargo build --release --package cli --target aarch64-apple-darwin
|
||||
echo "Compiling cli binary for x86_64-apple-darwin"
|
||||
cargo build --release --package cli --target x86_64-apple-darwin
|
||||
|
||||
echo "Creating application bundle"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue