From 98bdb29c7b179caaf7fed1e86fea0ff90a0867cb Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Fri, 13 Mar 2020 03:10:05 -0700 Subject: [PATCH] remove hack for --app:lib --- compiler/commands.nim | 2 -- 1 file changed, 2 deletions(-) diff --git a/compiler/commands.nim b/compiler/commands.nim index 02163eecabcbf..62d4d75dd1c7f 100644 --- a/compiler/commands.nim +++ b/compiler/commands.nim @@ -629,8 +629,6 @@ proc processSwitch*(switch, arg: string, pass: TCmdLinePass, info: TLineInfo; defineSymbol(conf.symbols, "executable") defineSymbol(conf.symbols, "consoleapp") of "lib": - # should that apply also for other `arg` options? - conf.setNoteDefaults(warnUnusedImportX, false) # similar to issue #13218 incl(conf.globalOptions, optGenDynLib) excl(conf.globalOptions, optGenGuiApp) defineSymbol(conf.symbols, "library")