← Back to issue list

Enable optimizations by default

View original Launchpad issue

Metadata

Project
snapcraft
Number
#1688703
Type
issue
State
open
Author
~eyelash
Labels
plugin snap-docs
Created
2017-05-06 07:33:44.635839+00:00
Updated
2022-03-08 08:01:20.615616+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

There is some inconsistency between different snapcraft plugins. Some plugins (at least rust) will create an optimized release build but others (at least cmake and meson) create an unoptimized debug build. As a user of snapcraft without looking at the plugin source code I don't know whether a plugin will create a release or debug build, so I propose to enable optimizations by default for every plugin or at least mention in the plugin documentation whether optimizations are turned on or off by default and how to turn them on.

Evaluation history

No evaluation history available.