build(jetsocat,dgw): optimize binary size by CBenoit · Pull Request #1489 · Devolutions/devolutions-gateway

@CBenoit

Size was already optimized in the past by enabling lto and stripping the debug symbols.
Adding codegen-units = 1 brings the binary size further down.

- Jetsocat baseline: 7.3M
- Jetsocat after: 6.6M

- Devolutions Gateway baseline: 27M
- Devolutions Gateway after: 25M

@CBenoit enabled auto-merge (squash)

September 9, 2025 17:34

thenextman