Skip to content

Commit b6c31e4

Browse files
committed
--hint:link:on now shows link cmd instead of nothing
1 parent ba4fbb6 commit b6c31e4

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,6 @@ megatest.nim
8686
/lib/pure/*.js
8787

8888
!/.builds/
89+
90+
# ignore debug dirs generated by dsymutil on OSX
91+
*.dSYM

compiler/extccomp.nim

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -835,8 +835,7 @@ template tryExceptOSErrorMessage(conf: ConfigRef; errorPrefix: string = "", body
835835

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

841840
proc maybeRunDsymutil(conf: ConfigRef; exe: AbsoluteFile) =
842841
when defined(osx):

compiler/lineinfos.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ const
115115
hintName: "$1",
116116
hintPattern: "$1",
117117
hintExecuting: "$1",
118-
hintLinking: "",
118+
hintLinking: "$1",
119119
hintDependency: "$1",
120120
hintSource: "$1",
121121
hintPerformance: "$1",

0 commit comments

Comments
 (0)