Skip to content

Commit

Permalink
Fix nimsuggest/#117 (nim-lang#15602)
Browse files Browse the repository at this point in the history
  • Loading branch information
Clyybber authored Nov 15, 2020
1 parent 5ccfc8c commit 92da06e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions compiler/extccomp.nim
Original file line number Diff line number Diff line change
Expand Up @@ -627,10 +627,7 @@ proc footprint(conf: ConfigRef; cfile: Cfile): SecureHash =
getCompileCFileCmd(conf, cfile))

proc externalFileChanged(conf: ConfigRef; cfile: Cfile): bool =
case conf.backend
of backendInvalid: doAssert false
of backendJs: return false # pre-existing behavior, but not sure it's good
else: discard
if conf.backend == backendJs: return false # pre-existing behavior, but not sure it's good

var hashFile = toGeneratedFile(conf, conf.withPackageName(cfile.cname), "sha1")
var currentHash = footprint(conf, cfile)
Expand Down

0 comments on commit 92da06e

Please sign in to comment.