Skip to content

Commit

Permalink
--hint:link:on now shows link cmd instead of nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed Jan 7, 2020
1 parent ba4fbb6 commit b6c31e4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,6 @@ megatest.nim
/lib/pure/*.js

!/.builds/

# ignore debug dirs generated by dsymutil on OSX
*.dSYM
3 changes: 1 addition & 2 deletions compiler/extccomp.nim
Original file line number Diff line number Diff line change
Expand Up @@ -835,8 +835,7 @@ template tryExceptOSErrorMessage(conf: ConfigRef; errorPrefix: string = "", body

proc execLinkCmd(conf: ConfigRef; linkCmd: string) =
tryExceptOSErrorMessage(conf, "invocation of external linker program failed."):
execExternalProgram(conf, linkCmd,
if optListCmd in conf.globalOptions or conf.verbosity > 1: hintExecuting else: hintLinking)
execExternalProgram(conf, linkCmd, hintLinking)

proc maybeRunDsymutil(conf: ConfigRef; exe: AbsoluteFile) =
when defined(osx):
Expand Down
2 changes: 1 addition & 1 deletion compiler/lineinfos.nim
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const
hintName: "$1",
hintPattern: "$1",
hintExecuting: "$1",
hintLinking: "",
hintLinking: "$1",
hintDependency: "$1",
hintSource: "$1",
hintPerformance: "$1",
Expand Down

0 comments on commit b6c31e4

Please sign in to comment.