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.

Let script/bundle-linux preserve RUSTFLAGS (#17202)

Niklas Fiekasc9b4c8c49894
diff --git a/script/bundle-linux b/script/bundle-linux
index 17b00b07f13..8ebe1119452 100755
--- a/script/bundle-linux
+++ b/script/bundle-linux
@@ -42,7 +42,7 @@ target_triple=${host_line#*: }
script/generate-licenses
# Build binary in release mode
-export RUSTFLAGS="-C link-args=-Wl,--disable-new-dtags,-rpath,\$ORIGIN/../lib"
+export RUSTFLAGS="$RUSTFLAGS -C link-args=-Wl,--disable-new-dtags,-rpath,\$ORIGIN/../lib"
cargo build --release --target "${target_triple}" --package zed --package cli --package remote_server
# Strip the binary of all debug symbols