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
43 43
44# Strip the binary of all debug symbols44# Strip the binary of all debug symbols
45# Later, we probably want to do something like this: https://github.com/GabrielMajeri/separate-symbols45# Later, we probably want to do something like this: https://github.com/GabrielMajeri/separate-symbols
46strip "target/${target_triple}/release/zed"46strip --strip-debug "target/${target_triple}/release/zed"
47strip "target/${target_triple}/release/cli"47strip --strip-debug "target/${target_triple}/release/cli"
48 48
49suffix=""49suffix=""
50if [ "$channel" != "stable" ]; then50if [ "$channel" != "stable" ]; then