Fix #3018
Looks like the problem is that the compiler expected the hash to be a certain number of characters, but the file actually contained a (shorter) crc hash.
This commit is contained in:
parent
615defb1a9
commit
6aae246ef1
1 changed files with 1 additions and 1 deletions
|
|
@ -585,7 +585,7 @@ proc externalFileChanged(filename: string): bool =
|
||||||
if gCmd notin {cmdCompileToC, cmdCompileToCpp, cmdCompileToOC, cmdCompileToLLVM}:
|
if gCmd notin {cmdCompileToC, cmdCompileToCpp, cmdCompileToOC, cmdCompileToLLVM}:
|
||||||
return false
|
return false
|
||||||
|
|
||||||
var crcFile = toGeneratedFile(filename.withPackageName, "crc")
|
var crcFile = toGeneratedFile(filename.withPackageName, "sha1")
|
||||||
var currentCrc = footprint(filename)
|
var currentCrc = footprint(filename)
|
||||||
var f: File
|
var f: File
|
||||||
if open(f, crcFile, fmRead):
|
if open(f, crcFile, fmRead):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue