This has a number of issues, it emits entrypoint into a random object file.
If it's not possible to emit it into the same object file that contains `_Dmain` you should put it into a separate object file.