subo
subo copied to clipboard
Run compilers in release mode
Rust for example provides a --release mode, and we should run that by default, with a --debug Subo flag for when that's not desired.
Looks like the build cmds/flags used are determined @ https://github.com/suborbital/subo/blob/ad5be137b5b8dd68e2897459f5efa45d4534451c/builder/context/native.go#L20-L25
I think simple conditional template annotations could solve this along with that new subo flag --debug
.
I can take this on if no one else is working on it
It was not as simple as I thought! 🙃