Orthogonal "Release optimization target" and "Runtime safety" #3225
Labels
proposal
This issue suggests modifications. If it also has the "accepted" label then it is planned.
Milestone
This proposal is about a more flexible and transparent alternative to existing build modes: debug, release-fast, release-small, and release-safe.
The idea is to make "optimization target" and "runtime safety" into orthogonal features.
Optimization target for the binary then becomes either "performance", "fastbuild", or "smallsize". Runtime safety is a separate concern.
Runtime safety checks would be enabled on an individual basis in each build.
in buildscript:
in userland code:
This would IMO be very transparent and understandable for the user, vs having to read about the different build modes in the docs.
Related: #978
The text was updated successfully, but these errors were encountered: