mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-10 06:54:16 +00:00
make CI happy
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
import sem, cgen, modulegraphs, ast, llstream, parser, msgs,
|
||||
lineinfos, reorder, options, semdata, cgendata, modules, pathutils,
|
||||
packages, syntaxes, depends, vm, pragmas, idents, lookups, wordrecg,
|
||||
liftdestructors, nifgen, ast2nif
|
||||
liftdestructors, nifgen
|
||||
|
||||
when not defined(nimKochBootstrap):
|
||||
import ast2nif
|
||||
|
||||
import pipelineutils
|
||||
|
||||
@@ -218,8 +221,9 @@ proc processPipelineModule*(graph: ModuleGraph; module: PSym; idgen: IdGenerator
|
||||
of NonePass:
|
||||
raiseAssert "use setPipeLinePass to set a proper PipelinePass"
|
||||
|
||||
if optCompress in graph.config.globalOptions:
|
||||
writeNifModule(graph.config, module.position.int32, finalNode)
|
||||
when not defined(nimKochBootstrap):
|
||||
if optCompress in graph.config.globalOptions:
|
||||
writeNifModule(graph.config, module.position.int32, finalNode)
|
||||
|
||||
if graph.config.backend notin {backendC, backendCpp, backendObjc}:
|
||||
# We only write rod files here if no C-like backend is active.
|
||||
|
||||
Reference in New Issue
Block a user