You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regarding -w, that should just strip the debugging symbols, leaving enough for readable panic info. Also, we shouldn't forget to do this when building go itself (e.g. go build -ldflags="-s -w" cmd/go), which supposedly can drop the size down to ~9.0MB from ~12.5MB.
The normal strip utility is already run in fixupPhase, so they're partially stripped already (although maybe not: #14824), but perhaps the Go tools can strip it more. It would be nice to have numbers on some Go packages in Nix.
This has been automatically marked as stale because it has had no activity for 180 days.
If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.
Here are suggestions that might help resolve this more quickly:
Search for maintainers and people that previously touched the related code and @ mention them in a comment.
When building go packages, we might want to make it an option to pass
-ldflags="-s -w"
.Per the Go docs:
See the following for more details:
The text was updated successfully, but these errors were encountered: