summaryrefslogtreecommitdiffhomepage
path: root/src/logic/slbt_exec_compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/logic/slbt_exec_compile.c')
-rw-r--r--src/logic/slbt_exec_compile.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/logic/slbt_exec_compile.c b/src/logic/slbt_exec_compile.c
index dcfdf29..ec19c22 100644
--- a/src/logic/slbt_exec_compile.c
+++ b/src/logic/slbt_exec_compile.c
@@ -38,6 +38,10 @@ int slbt_exec_compile(
struct slbt_exec_ctx * actx = 0;
const struct slbt_source_version * verinfo;
+ /* dry run */
+ if (dctx->cctx->drvflags & SLBT_DRIVER_DRY_RUN)
+ return 0;
+
/* context */
if (ectx)
slbt_reset_placeholders(ectx);