Enable ref types by default (#3894)

This commit is contained in:
Maks Litskevich 2024-11-27 14:06:07 +03:00 committed by GitHub
parent 1d111a38d6
commit 7b553cd420
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View File

@ -113,8 +113,8 @@ if (NOT DEFINED WAMR_BUILD_SIMD)
endif () endif ()
if (NOT DEFINED WAMR_BUILD_REF_TYPES) if (NOT DEFINED WAMR_BUILD_REF_TYPES)
# Disable reference types by default # Enable reference types by default
set (WAMR_BUILD_REF_TYPES 0) set (WAMR_BUILD_REF_TYPES 1)
endif () endif ()
set (WAMR_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}) set (WAMR_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR})

View File

@ -223,7 +223,7 @@ Currently we only profile the memory consumption of module, module_instance and
> See [basic sample](../samples/basic/src/main.c) for a usage example. > See [basic sample](../samples/basic/src/main.c) for a usage example.
#### **Enable reference types feature** #### **Enable reference types feature**
- **WAMR_BUILD_REF_TYPES**=1/0, default to disable if not set - **WAMR_BUILD_REF_TYPES**=1/0, default to enable if not set
#### **Exclude WAMR application entry functions** #### **Exclude WAMR application entry functions**
- **WAMR_DISABLE_APP_ENTRY**=1/0, default to disable if not set - **WAMR_DISABLE_APP_ENTRY**=1/0, default to disable if not set

View File

@ -108,8 +108,8 @@ if (NOT DEFINED WAMR_BUILD_SIMD)
endif () endif ()
if (NOT DEFINED WAMR_BUILD_REF_TYPES) if (NOT DEFINED WAMR_BUILD_REF_TYPES)
# Disable reference types by default # Enable reference types by default
set (WAMR_BUILD_REF_TYPES 0) set (WAMR_BUILD_REF_TYPES 1)
endif () endif ()
if (NOT DEFINED WAMR_BUILD_DEBUG_INTERP) if (NOT DEFINED WAMR_BUILD_DEBUG_INTERP)