diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-10-21 15:47:03 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-10-21 16:02:33 +0200 |
commit | 01ae2737c6ea663ad4e741f048889950bbfb2510 (patch) | |
tree | e5b6bfefa2d387b4553013ea95335581caff4206 /src/buildtool/main/main.cpp | |
parent | eeed3ec02387dcd897c6a84010f1913a093bea07 (diff) | |
download | justbuild-01ae2737c6ea663ad4e741f048889950bbfb2510.tar.gz |
configured_target: honor --expression-log-limit when shortening representation
Diffstat (limited to 'src/buildtool/main/main.cpp')
-rw-r--r-- | src/buildtool/main/main.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/buildtool/main/main.cpp b/src/buildtool/main/main.cpp index bada208a..a2bdb055 100644 --- a/src/buildtool/main/main.cpp +++ b/src/buildtool/main/main.cpp @@ -1125,7 +1125,8 @@ auto main(int argc, char* argv[]) -> int { if (result) { Logger::Log(LogLevel::Info, "Analysed target {}", - result->id.ToShortString()); + result->id.ToShortString( + Evaluator::GetExpressionLogLimit())); { auto cached = stats.ExportsCachedCounter(); @@ -1194,7 +1195,8 @@ auto main(int argc, char* argv[]) -> int { result->modified ? fmt::format(" input of action {} of", *(result->modified)) : "", - result->id.ToShortString()); + result->id.ToShortString( + Evaluator::GetExpressionLogLimit())); auto build_result = traverser.BuildAndStage(artifacts, |