summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/buildtool/main/main.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/buildtool/main/main.cpp b/src/buildtool/main/main.cpp
index e6136b90..d522c345 100644
--- a/src/buildtool/main/main.cpp
+++ b/src/buildtool/main/main.cpp
@@ -1423,6 +1423,15 @@ auto main(int argc, char* argv[]) -> int {
Logger::Log(LogLevel::Info,
"Analysed target {}",
result->id.ToString());
+
+ auto const& stat = Statistics::Instance();
+ Logger::Log(LogLevel::Info,
+ "Export targets found: {} cached, {} uncached, "
+ "{} not eligible for caching",
+ stat.ExportsCachedCounter(),
+ stat.ExportsUncachedCounter(),
+ stat.ExportsNotEligibleCounter());
+
ReportTaintedness(*result);
auto const& [actions, blobs, trees] = result_map.ToResult();