From eb53434429f2eb609ce726d900ae64c26f642c0c Mon Sep 17 00:00:00 2001 From: Araq Date: Sun, 9 Nov 2025 17:28:18 +0100 Subject: [PATCH] make CI happy --- compiler/pipelines.nim | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/compiler/pipelines.nim b/compiler/pipelines.nim index e4becc92f0..2116428b28 100644 --- a/compiler/pipelines.nim +++ b/compiler/pipelines.nim @@ -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.