aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/algorithm.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-12-12 10:37:34 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-12-12 10:37:34 +0200
commit30e5f6677c6ad8246419b2392791f2664d48bf05 (patch)
treeae9de32ab52e049a0d7b5db46878f68f374dc58d /libbuild2/algorithm.hxx
parent2a9607c1648a39210012139e62e07fce790badde (diff)
Work around unexecuted member for installed libraries issue
See comment for the long-term plan.
Diffstat (limited to 'libbuild2/algorithm.hxx')
-rw-r--r--libbuild2/algorithm.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/libbuild2/algorithm.hxx b/libbuild2/algorithm.hxx
index c8f1d81..c6fb1c2 100644
--- a/libbuild2/algorithm.hxx
+++ b/libbuild2/algorithm.hxx
@@ -434,7 +434,8 @@ namespace build2
bool fail = true);
// Apply the specified recipe directly and without incrementing the
- // dependency counts. The target must be locked.
+ // dependency counts. The target must be locked (and it remains locked
+ // after this function returns).
//
// Note that there will be no way to rematch on options change (since there
// is no rule), so passing anything other than all_options is most likely a
@@ -446,7 +447,8 @@ namespace build2
uint64_t options = match_extra::all_options);
// Match (but do not apply) the specified rule directly and without
- // incrementing the dependency counts. The target must be locked.
+ // incrementing the dependency counts. The target must be locked (and it
+ // remains locked after this function returns).
//
void
match_rule (target_lock&,