If unittest run without a main() being present, crashes on link error:
lld-link: error: subsystem must be defined
Error: linker exited with status 1
Is this intended?
It's not a problem to add temporary
void main() {
}
to the bottom of the module, but seems wrong as not then testing exactly what is to be imported elsewhere.