Skip to content

Commit b69e201

Browse files
[ASan] Stop building asan_interceptors_vfork.S for WASI
1 parent 7ee907d commit b69e201

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/asan/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ set(ASAN_SOURCES
4242
wasi/memcpy.c
4343
)
4444

45-
if (NOT WIN32 AND NOT APPLE)
45+
if (NOT WIN32 AND NOT APPLE AND NOT CMAKE_SYSTEM_NAME STREQUAL "WASI")
4646
list(APPEND ASAN_SOURCES
4747
asan_interceptors_vfork.S
4848
)

0 commit comments

Comments
 (0)