mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 23:03:45 +01:00
Make G_FUZZING constexpr, require -DBUILD_FOR_FUZZING=ON to execute a fuzz target
This commit is contained in:
@@ -14,8 +14,6 @@
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
||||
bool g_fuzzing = false;
|
||||
|
||||
std::string StrFormatInternalBug(std::string_view msg, std::string_view file, int line, std::string_view func)
|
||||
{
|
||||
return strprintf("Internal bug detected: %s\n%s:%d (%s)\n"
|
||||
|
||||
Reference in New Issue
Block a user