aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/module.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/module.cxx')
-rw-r--r--libbuild2/module.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/libbuild2/module.cxx b/libbuild2/module.cxx
index 36a7ce5..9a12d01 100644
--- a/libbuild2/module.cxx
+++ b/libbuild2/module.cxx
@@ -188,18 +188,24 @@ namespace build2
loc,
tgs);
+ // Note that we suppress all outcome diagnostics, even for failure since
+ // the extra `info: failed to update <target>` is not very useful (we
+ // expect an appropriate diagnostics frame explains what's going on).
+ //
mo_perform.match ({}, /* parameters */
a,
tgs,
- 1, /* diag (failures only) */
+ 0, /* diag (none) */
false /* progress */);
mo_perform.execute ({}, /* parameters */
a,
tgs,
- 1, /* diag (failures only) */
+ 0, /* diag (none) */
false /* progress */);
+ ctx.module_context->load_generation++;
+
assert (tgs.size () == 1);
return tgs[0].as<target> ();
}