diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2024-12-12 11:30:27 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2024-12-12 11:30:27 +0200 |
commit | d27390e9935c94938af9e7068557d6f6ef9b07a9 (patch) | |
tree | 2c27fc4e49e51d90ea246607160d8b2790973693 /libbuild2/module.cxx | |
parent | 270041729e2d2f67d15e419e314cda4eba9821f6 (diff) |
Increment load_generation between operations in batch
Diffstat (limited to 'libbuild2/module.cxx')
-rw-r--r-- | libbuild2/module.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbuild2/module.cxx b/libbuild2/module.cxx index df0da48..9a12d01 100644 --- a/libbuild2/module.cxx +++ b/libbuild2/module.cxx @@ -204,6 +204,8 @@ namespace build2 0, /* diag (none) */ false /* progress */); + ctx.module_context->load_generation++; + assert (tgs.size () == 1); return tgs[0].as<target> (); } |