solang icon indicating copy to clipboard operation
solang copied to clipboard

Add a --release flag

Open xermicus opened this issue 3 years ago • 1 comments

This came up in #927, I'll open an issue so I won't forget this.

The idea is to have a --release flag for compilation, similar to what cargo does. This would allow us to enable certain optimization only for release builds (e.g. omitting debug prints in release builds).

xermicus avatar Aug 12 '22 09:08 xermicus

This sounds useful, but right now there is nothing to differentiate between so called release and non-release builds. Before adding such a flag, we first need a feature which we want to switch on or off release.

When get to that point, we can have another discussion about what such an option should be called. --release might not be the most descriptive name, we'd have to decide when we get there.

seanyoung avatar Aug 12 '22 09:08 seanyoung

Closed by #1227

xermicus avatar Apr 12 '23 09:04 xermicus