arteme / pod-ui

A modern GTK+ UI for controlling Line6 POD family of devices via MIDI. Supported devices: POD 1.0, POD 2.0, POD Pro, PocketPOD, PODxt, PODxt Pro, PODxt Live, Bass PODxt, Bass PODxt Pro, Bass PODxt Live
https://arteme.github.io/pod-ui/
GNU General Public License v3.0
31 stars 2 forks source link

Smaller binaries #20

Closed arteme closed 1 year ago

arteme commented 1 year ago

Currently, packaged pod-ui binaries are huge because they contain debugging info. Debugging info can be split off and packages only with debug build (needed?).

Needs testing, especially with sentry.

Resources:

arteme commented 1 year ago

A combination of split-debuginfo = "packed" and lto = "thin" is blocked until rust 1.67 by https://github.com/rust-lang/rust/issues/103932

arteme commented 1 year ago

For the purpose of producing smaller release images, yet having the option of getting useful stack dumps (symbolicated, matched with source in sentry), this proved to work after much swearing and trying different approaches: