-
Notifications
You must be signed in to change notification settings - Fork 102
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
Separate debug info from .so file #123
Comments
No need for separate targets. The binaries can be stripped post-build with the I'm not sure this really needs to be done on this repo since people can do it themselves, but it's no big deal. |
It's a little bit of a "standard" to have Both are valid binaries (but the former has been stripped.) |
SpaceManiac gave this:
|
This new change in 1.65.0 could prove useful: https://blog.rust-lang.org/2022/11/03/Rust-1.65.0.html#splitting-linux-debuginfo |
After #119, the release build of librust_g.so is 70 MB as opposed to the previous 10 MB.
This is extremely unideal. There are two ways I see to solve this.
One is that we make release w/ debug info a separate target, then ship both librust_g.so and librust_g_debug_info.so.
Another is that there might be a way to split it into its own file much like the .pdb. There's a few StackOverflow posts about this, something about
objcopy
? Not sure how doable it is but that would be ideal if it's feasibleThe text was updated successfully, but these errors were encountered: