diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-07-01 23:35:27 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-07-02 16:43:57 +0300 |
commit | f52b47eea4c5de553d202669f91e6f4f14668592 (patch) | |
tree | 1f7920725b5e878883caf570b233a72e42065f1b /build2/test/init.cxx | |
parent | 1e71bf440efb037a7aa2bafd679cf988129fad7b (diff) |
Add workaround for data race in libstdc++'s locale(const locale&, Facet*) constructor
Diffstat (limited to 'build2/test/init.cxx')
-rw-r--r-- | build2/test/init.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/build2/test/init.cxx b/build2/test/init.cxx index 725d557..1f5a3ae 100644 --- a/build2/test/init.cxx +++ b/build2/test/init.cxx @@ -15,6 +15,8 @@ #include <build2/test/target.hxx> #include <build2/test/operation.hxx> +#include <build2/test/script/regex.hxx> // script::regex::init() + using namespace std; using namespace butl; @@ -217,5 +219,13 @@ namespace build2 return true; } + + module_functions + build2_test_load () + { + script::regex::init (); + + return module_functions {&boot, &init}; + } } } |