aboutsummaryrefslogtreecommitdiff
path: root/src/test/util/mining.cpp
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2020-01-27 14:51:33 +0800
committerfanquake <fanquake@gmail.com>2020-01-29 08:18:22 +0800
commitb35567fe0ba3e6f8d8f9525088eb8ee62065ad01 (patch)
treec16b44a28fbb543f5ba113c65d00f8fe5eb4406c /src/test/util/mining.cpp
parentfe48ac8580ae7ddf38575f958dcf9d6ea316e90d (diff)
test: only declare a main() when fuzzing with AFL
libFuzzer will provide a main(). This also fixes a weak linking issue when fuzzing with libFuzzer on macOS.
Diffstat (limited to 'src/test/util/mining.cpp')
0 files changed, 0 insertions, 0 deletions