Skip to content

Commit 7e84e07

Browse files
committed
disable compiler to prevent get_current_target() crash
1 parent d053f55 commit 7e84e07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/fuzz/wasm-mutator-fuzz/aot-compiler/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if(NOT WAMR_BUILD_INTERP)
77
endif()
88

99
set(WAMR_BUILD_WAMR_COMPILER 1)
10-
set(WAMR_BUILD_AOT 1)
10+
set(WAMR_BUILD_AOT 0)
1111
set(WAMR_BUILD_INTERP 1)
1212
set(WAMR_BUILD_JIT 0)
1313

@@ -69,7 +69,7 @@ target_link_libraries(aotclib PUBLIC ${REQUIRED_LLVM_LIBS})
6969

7070
if(NOT IN_OSS_FUZZ)
7171
message(STATUS "Enable ASan and UBSan in non-oss-fuzz environment")
72-
target_compile_options(aotclib PUBLIC
72+
target_compile_options(aotclib PUBLIC
7373
-fprofile-instr-generate -fcoverage-mapping
7474
-fno-sanitize-recover=all
7575
-fsanitize=address,undefined

0 commit comments

Comments
 (0)