Skip to content

Commit

Permalink
Make fuzzer CONFIG contain proto-message type comment.
Browse files Browse the repository at this point in the history
This makes it faster for a reader to find out where the
details are defined.

PiperOrigin-RevId: 673578406
  • Loading branch information
hzeller authored and copybara-github committed Sep 11, 2024
1 parent b3e9b38 commit 2a77651
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xls/fuzzer/sample.cc
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ std::string Sample::Serialize(
std::optional<std::string_view> error_message) const {
std::vector<std::string> lines;
lines.push_back(absl::StrFormat("// %s", kStartConfig));
lines.push_back("// # proto-message: xls.fuzzer.CrasherConfigurationProto");

fuzzer::CrasherConfigurationProto config;
if (error_message.has_value()) {
Expand Down

0 comments on commit 2a77651

Please sign in to comment.