From d3ef150c45d9325bc075d33a00c8cf0a6b1bf954 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 20 Jul 2023 10:17:03 +0200 Subject: Consider unmatched prerequisites in updated_during_match() check --- libbuild2/target.hxx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'libbuild2/target.hxx') diff --git a/libbuild2/target.hxx b/libbuild2/target.hxx index aa3df7f..79ec9fa 100644 --- a/libbuild2/target.hxx +++ b/libbuild2/target.hxx @@ -111,8 +111,15 @@ namespace build2 // prerequisites that are updated during match should have this bit set // (see dyndep_rule::*_existing_file() for details). // - static const uintptr_t include_adhoc = 0x01; - static const uintptr_t include_udm = 0x02; + // target + // + // The data member contains the target pointer that has been "blanked + // out" for some reason (updated during match, unmatched, etc). See + // dyndep_rule::updated_during_match() for details. + // + static const uintptr_t include_adhoc = 0x01; + static const uintptr_t include_udm = 0x02; + static const uintptr_t include_target = 0x80; uintptr_t include; -- cgit v1.1