aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-12-17 10:37:21 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-12-17 10:37:21 +0200
commitc6a77b94d99a2e845c0916ad70d1ff4c6fbc130b (patch)
tree21207d0f6a8250038815b30b5df5bb77a7b83b65 /libbuild2
parentdab9482b868e2da40d04210c0443bf4d2dcfdfd5 (diff)
Add TODO comment
Diffstat (limited to 'libbuild2')
-rw-r--r--libbuild2/cc/compile-rule.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/libbuild2/cc/compile-rule.cxx b/libbuild2/cc/compile-rule.cxx
index 5b6c473..e55754a 100644
--- a/libbuild2/cc/compile-rule.cxx
+++ b/libbuild2/cc/compile-rule.cxx
@@ -1007,6 +1007,11 @@ namespace build2
// match in link::apply() it will be safe unless someone is building
// an obj?{} target directly.
//
+ // @@ If for some reason unmatch fails, this messes up the for_install
+ // logic because we will update this library during match. Perhaps
+ // we should postpone updating them until execute if we failed to
+ // unmatch.
+ //
pair<bool, target_state> mr (
build2::match (
a,