ソースを参照

add reference type support by default for darwin to support WASI-SDK-25 (#3978)

Chris Woods 1 年間 前
コミット
4cda74ad85
1 ファイル変更5 行追加0 行削除
  1. 5 0
      product-mini/platforms/darwin/CMakeLists.txt

+ 5 - 0
product-mini/platforms/darwin/CMakeLists.txt

@@ -91,6 +91,11 @@ if (NOT DEFINED WAMR_BUILD_SIMD)
   set (WAMR_BUILD_SIMD 1)
 endif ()
 
+if (NOT DEFINED WAMR_BUILD_REF_TYPES)
+  # Enable reference types by default
+  set (WAMR_BUILD_REF_TYPES 1)
+endif ()
+
 if (NOT DEFINED WAMR_BUILD_DEBUG_INTERP)
   # Disable Debug feature by default
   set (WAMR_BUILD_DEBUG_INTERP 0)