mashingan Wed, 05 Dec 2018 19:45:18 -0800
pass \--noMain option when compiling.
You can see the complete option by invoking nim --fullhelp (or nim --advanced )