This commit is contained in:
Timothee Cour 2020-05-20 18:34:14 -07:00 • committed by GitHub
commit e600ddc555
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -916,8 +916,8 @@ proc loadNode*(g: ModuleGraph; module: PSym): PNode =
replay(g, module, result) replay(g, module, result)
proc setupModuleCache*(g: ModuleGraph) = proc setupModuleCache*(g: ModuleGraph) =
## historical note: there used to be a `rodfiles` dir with special tests # historical note: there used to be a `rodfiles` dir with special tests
## for incremental compilation via symbol files. This was likely replaced by ic. # for incremental compilation via symbol files. This was likely replaced by ic.
if g.config.symbolFiles == disabledSf: return if g.config.symbolFiles == disabledSf: return
g.recordStmt = recordStmt g.recordStmt = recordStmt
let dbfile = getNimcacheDir(g.config) / RelativeFile"rodfiles.db" let dbfile = getNimcacheDir(g.config) / RelativeFile"rodfiles.db"