From 13c6491b1048272780acf7841de53f0341a9d3e6 Mon Sep 17 00:00:00 2001 From: Joey Yakimowich-Payne Date: Mon, 2 Jul 2018 11:01:04 +0900 Subject: [PATCH] Add compiler flag that makes NimMain function unique. --- compiler/cgen.nim | 14 +++++++++++--- compiler/commands.nim | 4 ++++ compiler/options.nim | 1 + 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/compiler/cgen.nim b/compiler/cgen.nim index 4cbc3d3b1..dc2c4483f 100644 --- a/compiler/cgen.nim +++ b/compiler/cgen.nim @@ -947,8 +947,16 @@ proc genFilenames(m: BModule): Rope = for i in 0..