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
This needs some more investigation. If it (a) works for the platforms we care about (x86_64 and ARM64 macOS and Linux), and (b) does not introduce performance or functionality regressions, we should switch the Nosey Parker releases to statically link instead.
The text was updated successfully, but these errors were encountered:
@Azathothas in the snippets you shared, I see that you are switching the release profile to use different LTO and optimization options (lto=true and opt-level="z"). Nosey Parker currently builds with lto="thin" and opt-level=3.
Have you experimented with those different settings, or are lto=true and opt-level="z" just what you use by default with Rust projects?
I have indeed experimented with building rust binaries, in my testing, I have found those settings that I forcefully apply, result in smaller binaries.
In a comment by @Azathothas, a couple incantations were shared that seem to generate statically-linked
noseyparker
binaries:This needs some more investigation. If it (a) works for the platforms we care about (x86_64 and ARM64 macOS and Linux), and (b) does not introduce performance or functionality regressions, we should switch the Nosey Parker releases to statically link instead.
The text was updated successfully, but these errors were encountered: