Skip to content

docs: document llvm-objcopy --strip-debug step when self-building remote_server - #57655

Merged
Veykril merged 2 commits into
zed-industries:mainfrom
mvanhorn:fix/56939-zed-remote-server-build-docs-strip-debug
Jun 15, 2026
Merged

docs: document llvm-objcopy --strip-debug step when self-building remote_server#57655
Veykril merged 2 commits into
zed-industries:mainfrom
mvanhorn:fix/56939-zed-remote-server-build-docs-strip-debug

Conversation

@mvanhorn

Copy link
Copy Markdown
Contributor

Self-Review Checklist:

  • I've reviewed my own diff for quality, security, and reliability
  • Unsafe blocks (if any) have justifying comments (N/A — docs only)
  • The content is consistent with the UI/UX checklist
  • Tests cover the new/changed behavior (N/A — docs only)
  • Performance impact has been considered and is acceptable

Documents the llvm-objcopy --strip-debug step that script/bundle-linux runs after cargo build. Without it, self-built remote_server binaries are ~462 MB instead of ~62 MB and behave differently from the prebuilt downloads.

Two contributors converged on the same fix in the issue thread; this PR is a docs-only version of their suggestion, plus the musl/static variant that script/bundle-linux actually uses for the official Linux release.

Closes #56939

Release Notes:

  • N/A

AI was used for assistance.

@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label May 25, 2026
@smitbarmase smitbarmase added the platform:remote Remote development, SSH and zed-remote-server label May 26, 2026

@Veykril Veykril left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Veykril Veykril self-assigned this Jun 15, 2026
@Veykril
Veykril enabled auto-merge June 15, 2026 08:09
@zed-industries-bot

zed-industries-bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor
Warnings
⚠️
docs: document llvm-objcopy --strip-debug step when self-building remote_server
      ^

Write PR titles using sentence case.

Have feedback on this plugin? Let's hear it!

Generated by 🚫 dangerJS against e9e514e

@Veykril
Veykril added this pull request to the merge queue Jun 15, 2026
Merged via the queue into zed-industries:main with commit 838fea1 Jun 15, 2026
32 checks passed
This was referenced Jun 18, 2026
@mvanhorn

Copy link
Copy Markdown
Contributor Author

Thanks for reviewing and merging, @Veykril. Documenting the llvm-objcopy strip-debug step should save self-builders some confusion.

@mvanhorn

This comment was marked as spam.

jolutz pushed a commit to jolutz/zed that referenced this pull request Aug 8, 2026
…ote_server (zed-industries#57655)

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [ ] Unsafe blocks (if any) have justifying comments (N/A — docs only)
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [ ] Tests cover the new/changed behavior (N/A — docs only)
- [x] Performance impact has been considered and is acceptable

Documents the `llvm-objcopy --strip-debug` step that
`script/bundle-linux` runs after `cargo build`. Without it, self-built
`remote_server` binaries are ~462 MB instead of ~62 MB and behave
differently from the prebuilt downloads.

Two contributors converged on the same fix in the issue thread; this PR
is a docs-only version of their suggestion, plus the musl/static variant
that `script/bundle-linux` actually uses for the official Linux release.

Closes zed-industries#56939

Release Notes:

- N/A

AI was used for assistance.

Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
Co-authored-by: Lukas Wirth <lukas@zed.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement platform:remote Remote development, SSH and zed-remote-server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The command to build remote_server generates a huge executable file

4 participants