Skip to content

Commit 4cda74a

Browse files
authored
add reference type support by default for darwin to support WASI-SDK-25 (#3978)
1 parent 9598611 commit 4cda74a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

product-mini/platforms/darwin/CMakeLists.txt

+5
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,11 @@ if (NOT DEFINED WAMR_BUILD_SIMD)
9191
set (WAMR_BUILD_SIMD 1)
9292
endif ()
9393

94+
if (NOT DEFINED WAMR_BUILD_REF_TYPES)
95+
# Enable reference types by default
96+
set (WAMR_BUILD_REF_TYPES 1)
97+
endif ()
98+
9499
if (NOT DEFINED WAMR_BUILD_DEBUG_INTERP)
95100
# Disable Debug feature by default
96101
set (WAMR_BUILD_DEBUG_INTERP 0)

0 commit comments

Comments
 (0)