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
Showing the changes to script/bundle-linux (1 of 2 files). Show all
Unified · Split
| @@ -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 symbols | 44 | # Strip the binary of all debug symbols |
| 45 | # Later, we probably want to do something like this: https://github.com/GabrielMajeri/separate-symbols | 45 | # Later, we probably want to do something like this: https://github.com/GabrielMajeri/separate-symbols |
| 46 | strip "target/${target_triple}/release/zed" | 46 | strip --strip-debug "target/${target_triple}/release/zed" |
| 47 | strip "target/${target_triple}/release/cli" | 47 | strip --strip-debug "target/${target_triple}/release/cli" |
| 48 | 48 | ||
| 49 | suffix="" | 49 | suffix="" |
| 50 | if [ "$channel" != "stable" ]; then | 50 | if [ "$channel" != "stable" ]; then |