mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-30 18:02:05 +00:00
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:
@@ -585,7 +585,7 @@ proc externalFileChanged(filename: string): bool =
|
||||
if gCmd notin {cmdCompileToC, cmdCompileToCpp, cmdCompileToOC, cmdCompileToLLVM}:
|
||||
return false
|
||||
|
||||
var crcFile = toGeneratedFile(filename.withPackageName, "crc")
|
||||
var crcFile = toGeneratedFile(filename.withPackageName, "sha1")
|
||||
var currentCrc = footprint(filename)
|
||||
var f: File
|
||||
if open(f, crcFile, fmRead):
|
||||
|
||||
Reference in New Issue
Block a user