make niminst compile again
This commit is contained in:
parent
30597e643f
commit
b4ff01b507
1 changed files with 2 additions and 1 deletions
|
|
@ -483,6 +483,7 @@ proc deduplicateFiles(c: var ConfigData) =
|
||||||
let build = getOutputDir(c)
|
let build = getOutputDir(c)
|
||||||
for osA in countup(1, c.oses.len):
|
for osA in countup(1, c.oses.len):
|
||||||
for cpuA in countup(1, c.cpus.len):
|
for cpuA in countup(1, c.cpus.len):
|
||||||
|
when not defined(nimNoNilSeqs):
|
||||||
if c.cfiles[osA][cpuA].isNil: c.cfiles[osA][cpuA] = @[]
|
if c.cfiles[osA][cpuA].isNil: c.cfiles[osA][cpuA] = @[]
|
||||||
if c.explicitPlatforms and not c.platforms[osA][cpuA]: continue
|
if c.explicitPlatforms and not c.platforms[osA][cpuA]: continue
|
||||||
for dup in mitems(c.cfiles[osA][cpuA]):
|
for dup in mitems(c.cfiles[osA][cpuA]):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue