History

Keep symbol names in bundled linux binaries (#13006)

This ensures that linux panics still contain symbol names. It also allows us to profile Zed on linux with `perf` and get symbol names. Release Notes: - N/A

Max Brunsfeld committed 2 years ago

Commit 705e7541 parent ed1f8032 files · +11 −2Browse files

Showing the changes to script/bundle-linux (1 of 2 files). Show all

Unified · Split

script/bundle-linux+2−2
@@ -43,8 +43,8 @@ cargo build --release --target "${target_triple}" --package zed --package cli · 42 unmodified lines
4343
4444 # Strip the binary of all debug symbols
4545 # Later, we probably want to do something like this: https://github.com/GabrielMajeri/separate-symbols
46−strip "target/${target_triple}/release/zed"
47−strip "target/${target_triple}/release/cli"
46+strip --strip-debug "target/${target_triple}/release/zed"
47+strip --strip-debug "target/${target_triple}/release/cli"
4848
4949 suffix=""
5050 if [ "$channel" != "stable" ]; then