aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/target.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/target.ixx')
-rw-r--r--libbuild2/target.ixx4
1 files changed, 3 insertions, 1 deletions
diff --git a/libbuild2/target.ixx b/libbuild2/target.ixx
index af75cd1..ecc16c4 100644
--- a/libbuild2/target.ixx
+++ b/libbuild2/target.ixx
@@ -302,7 +302,9 @@ namespace build2
return make_pair (false, target_state::unknown);
else
{
- // Normally applied but can also be already executed.
+ // Normally applied but can also be already executed. Note that in the
+ // latter case we are guaranteed to be synchronized since we are in the
+ // match phase.
//
assert (o == offset_applied || o == offset_executed);
return make_pair (true, (group_state (a) ? group->state[a] : s).state);