Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix musl linking failure in bundle-linux by setting CC for musl target (#61203)
Nitin Krishna Mucheli9aa48e46e92b
diff --git a/script/bundle-linux b/script/bundle-linuxindex b510365acb4..0b1fabe9826 100755--- a/script/bundle-linux+++ b/script/bundle-linux@@ -88,6 +88,8 @@ cargo build --release --target "${target_triple}" --package zed --package cli# from influencing dynamic libraries required by it.if [[ "$remote_server_triple" == "$musl_triple" ]]; thenexport RUSTFLAGS="${RUSTFLAGS:-} -C target-feature=+crt-static"+ musl_cc_var="CC_$(echo "$remote_server_triple" | tr '-' '_')"+ export "$musl_cc_var"=musl-gccficargo build --release --target "${remote_server_triple}" --package remote_server