By include -ing it: include startup .
Combine with when block you can decide whether to include startup1.nim or startup2.nim or others during the compilation.
@templatedperson
What's the use case for this?
To treat both main.nim and startup.nim as a single package, as opposed to single module (which is per file). This way all symbols in startup.nim are accessible in main.nim without the need to export it outside startup.nim module.
Do you mean that you don't need anything from startup.nim, but need it to run? If so,
from startup import nil