aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-02-19 11:30:37 +0100
committerMarcoFalke <falke.marco@gmail.com>2021-02-19 11:30:41 +0100
commit6a680a6236e07c93f28514fe05fbb64a29cb2ec8 (patch)
tree40b72941ce52b1b11520eec46422313823a89387 /src
parentf1c2f619a68733ad79658288cc9a3b866679bf08 (diff)
parent56ace907b9b7b4544c95e2945dc07e217718a8e5 (diff)
Merge #21226: build: Fix fuzz binary compilation under windows
56ace907b9b7b4544c95e2945dc07e217718a8e5 Fix fuzz binary compilation under windows (Dan Benjamin) Pull request description: Small change to allow the fuzz binary to compile under windows. Also removed --disable-fuzz-binary from the windows CI test. This fixes #21212. ACKs for top commit: MarcoFalke: review ACK 56ace907b9b7b4544c95e2945dc07e217718a8e5 the best bugfixes are the ones removing code Tree-SHA512: 6088fd955a5e511b5ca1b3eaa8469a889eb6d994c2827acac7695dac6e4e320a344b45f4015a2f279b16df0d4b23ec4df13304ae6315395ad2fe8c5b526cada4
Diffstat (limited to 'src')
-rw-r--r--src/test/fuzz/fuzz.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/fuzz.cpp b/src/test/fuzz/fuzz.cpp
index 45151258b3..edb270d437 100644
--- a/src/test/fuzz/fuzz.cpp
+++ b/src/test/fuzz/fuzz.cpp
@@ -72,7 +72,7 @@ extern "C" int LLVMFuzzerInitialize(int* argc, char*** argv)
}
#if defined(PROVIDE_MAIN_FUNCTION)
-__attribute__((weak)) int main(int argc, char** argv)
+int main(int argc, char** argv)
{
initialize();
static const auto& test_one_input = *Assert(g_test_one_input);