[snowpatch] [PATCH] Cargo.toml: enable link-time optimisation

Russell Currey ruscur at russell.cc
Wed Jun 15 11:38:57 AEST 2016


On Fri, 2016-06-03 at 07:44 +1000, Andrew Donnellan wrote:
> Enable link-time optimisation for release builds. Currently, this shrinks
> the output binary by around 200 KB.
> 
> Signed-off-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>
> ---

This is a good idea, but I am NAKing it regardless.  The advantage really
doesn't matter, and we're adding a compilation difference that may some day be
deprecated, or cause a bug, or something.  It's just not worth it overall.

In the long term I am really hoping snowpatch is something that can run forever,
and maybe someone who doesn't know much about it will have to fix it, and this
may well just ruin their week.


More information about the snowpatch mailing list