Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split into debug and release binaries #16330

Closed
wants to merge 2 commits into from
Closed

Conversation

swenson
Copy link
Contributor

@swenson swenson commented Jul 18, 2022

The release binary will have debugging information stripped out (does
not affect panic traces though), and the debug binary will keep them.

Using make build:

Debug: 188,506,674 bytes on darwin/arm64 (same as current build)
Release: 153,418,674 bytes on darwin/arm64

Differences are larger with make bin.

@swenson swenson requested a review from a team July 18, 2022 17:41
@swenson swenson requested a review from a team as a code owner July 18, 2022 17:41
@swenson swenson requested review from smacfarlane and claire-labry and removed request for a team July 18, 2022 17:41
@swenson swenson force-pushed the separate-debug-build branch from 7905463 to 7edfea7 Compare July 18, 2022 21:38
Christopher Swenson added 2 commits August 2, 2022 11:41
The release binary will have debugging information stripped out (does
not affect panic traces though), and the debug binary will keep them.

Using `make build`:

Debug: 188,506,674 bytes on darwin/arm64 (same as current build)
Release: 153,418,674 bytes on darwin/arm64

Differences are larger with `make bin`.
@swenson swenson force-pushed the separate-debug-build branch from 7edfea7 to f7bb2c9 Compare August 2, 2022 18:41
@swenson swenson requested a review from mladlow August 2, 2022 18:41
@claire-labry
Copy link
Collaborator

@swenson Are we still wanting this change in? I'm so sorry I missed this 🤦🏻‍♀️ -- Super happy to approve it if it's still needed!

@swenson
Copy link
Contributor Author

swenson commented Sep 27, 2022

I mean, I'm a fan of doing this -- it reduces the size of the main binary quite a bit. But I'll defer to @mladlow and others to make the call. I'm happy to update the PR if we want to move forward.

@swenson
Copy link
Contributor Author

swenson commented Oct 26, 2022

Closing in favor of #17678

@swenson swenson closed this Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants