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
Make a new compiler option, remove_unused_functions. By default it should be set to Mix.env == :prod. Meaning by default it would be true only for production builds.
In compiler, if remove_unused_functions is true, skip the FindUsedFunctions phase.
In the Translate phase, when remove_unused_functions is false, set the used field equal to the definitions field. All other compilation should happen as normal
The text was updated successfully, but these errors were encountered:
Make a new compiler option,
remove_unused_functions
. By default it should be set toMix.env == :prod
. Meaning by default it would be true only for production builds.In compiler, if
remove_unused_functions
is true, skip theFindUsedFunctions
phase.In the
Translate
phase, whenremove_unused_functions
is false, set theused
field equal to thedefinitions
field. All other compilation should happen as normalThe text was updated successfully, but these errors were encountered: