mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-06 06:55:07 +00:00
Enable ref types by default (#3894)
This commit is contained in:
parent
1d111a38d6
commit
7b553cd420
|
@ -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})
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user