diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-11-01 11:50:08 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-11-01 11:50:08 +0200 |
commit | d0d4486702b045852dca36008746afeb8754ae85 (patch) | |
tree | b4f3930c8a64b4650a183c59257a43adc854da46 /libbuild2/algorithm.hxx | |
parent | 736c9f08b68b2735d85fe7eefdf2118de8b8c34e (diff) |
Tighten/optimize cleaning of fsdir{} during match
Diffstat (limited to 'libbuild2/algorithm.hxx')
-rw-r--r-- | libbuild2/algorithm.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libbuild2/algorithm.hxx b/libbuild2/algorithm.hxx index 19f7db2..11e655b 100644 --- a/libbuild2/algorithm.hxx +++ b/libbuild2/algorithm.hxx @@ -740,6 +740,11 @@ namespace build2 // cleaning to normal execute and these functions should only be used in // special cases where this is not possible. // + // Note also that neither function should be called on fsdir{} since it's + // hard to guarantee such an execution won't be too early (see the + // implementation for details). If you do need to clean fsdir{} during + // match, use fsdir_rule::perform_clean_direct() instead. + // LIBBUILD2_SYMEXPORT bool clean_during_match (tracer&, action, const target&); |