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
This commit is contained in:
parent
ce51c264a6
commit
af8e7af265
2 changed files with 11 additions and 2 deletions
|
@ -43,8 +43,8 @@ cargo build --release --target "${target_triple}" --package zed --package cli
|
|||
|
||||
# Strip the binary of all debug symbols
|
||||
# Later, we probably want to do something like this: https://github.com/GabrielMajeri/separate-symbols
|
||||
strip "target/${target_triple}/release/zed"
|
||||
strip "target/${target_triple}/release/cli"
|
||||
strip --strip-debug "target/${target_triple}/release/zed"
|
||||
strip --strip-debug "target/${target_triple}/release/cli"
|
||||
|
||||
suffix=""
|
||||
if [ "$channel" != "stable" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue