mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-08 16:20:58 +00:00
bugfix: produce the required nimcache subdir
This commit is contained in:
@@ -463,7 +463,8 @@ proc writeNifModule*(config: ConfigRef; thisModule: int32; n: PNode) =
|
||||
inner.addParRi()
|
||||
|
||||
let m = modname(w.moduleToNifSuffix, w.currentModule, w.infos.config)
|
||||
let d = toGeneratedFile(config, AbsoluteFile(m), ".nif").string
|
||||
let nifFilename = AbsoluteFile(m).changeFileExt(".nif")
|
||||
let d = completeGeneratedFilePath(config, nifFilename).string
|
||||
|
||||
var dest = createTokenBuf(600)
|
||||
dest.addParLe pool.tags.getOrIncl(toNifTag(nkStmtList)), rootInfo
|
||||
|
||||
Reference in New Issue
Block a user