aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/dist
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-08-16 10:30:35 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-08-16 10:30:35 +0200
commitd91e48ea57b83f7018a25d3f54bba96cf889d66d (patch)
treeaa6376de69751ae0488febc8fb4faed041699687 /libbuild2/dist
parent50bf3956c88ee6341d0023a421d502d604e3da4f (diff)
Add ability to initialize bootstrapped modules after loading root.build
Diffstat (limited to 'libbuild2/dist')
-rw-r--r--libbuild2/dist/init.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/libbuild2/dist/init.cxx b/libbuild2/dist/init.cxx
index a95f768..a96d10e 100644
--- a/libbuild2/dist/init.cxx
+++ b/libbuild2/dist/init.cxx
@@ -22,7 +22,7 @@ namespace build2
{
static const rule rule_;
- bool
+ void
boot (scope& rs, const location&, module_boot_extra& extra)
{
tracer trace ("dist::boot");
@@ -74,8 +74,6 @@ namespace build2
// Create the module.
//
extra.set_module (new module (v_d_p));
-
- return false;
}
bool