Skip to content

Commit 1775e53

Browse files
authored
chore(avm): fix mac build (#11147)
Use bb's format.
1 parent 34be2c3 commit 1775e53

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

barretenberg/cpp/src/barretenberg/vm/avm/trace/execution.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include "barretenberg/vm/avm/trace/execution.hpp"
22
#include "barretenberg/bb/log.hpp"
3+
#include "barretenberg/common/log.hpp"
34
#include "barretenberg/common/serialize.hpp"
45
#include "barretenberg/common/thread.hpp"
56
#include "barretenberg/common/throw_or_abort.hpp"
@@ -31,6 +32,7 @@
3132
#include <cstdint>
3233
#include <cstdlib>
3334
#include <filesystem>
35+
#include <iomanip>
3436
#include <stdexcept>
3537
#include <string>
3638
#include <tuple>
@@ -195,7 +197,7 @@ void show_trace_info(const auto& trace)
195197
std::string fullnesses;
196198
for (size_t j = i; j < i + 10 && j < column_stats.size(); j++) {
197199
const auto& stat = column_stats.at(j);
198-
fullnesses += std::format("{:3}: {:3}% ", stat.column_number, stat.fullness);
200+
fullnesses += format(std::setw(3), stat.column_number, ": ", std::setw(3), stat.fullness, "% ");
199201
}
200202
vinfo(fullnesses);
201203
}

0 commit comments

Comments
 (0)