Skip to content

Commit

Permalink
remove hack for --app:lib
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed Mar 13, 2020
1 parent 12b78ac commit 98bdb29
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions compiler/commands.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 98bdb29

Please sign in to comment.