Skip to content

Commit 7941aea

Browse files
cosmo0920edsiper
authored andcommitted
wasm: Enable reference types feature on wasm
As of Rustc 1.81, it starts to use reference type on Wasm creations. So, we need to enable it on our bundled runtime. Signed-off-by: Hiroshi Hatake <[email protected]>
1 parent 0ae7e15 commit 7941aea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wasm/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ endif ()
9393
if (NOT MSVC)
9494
set (WAMR_BUILD_LIB_PTHREAD 1)
9595
endif ()
96-
set (WAMR_BUILD_REF_TYPES 0)
96+
set (WAMR_BUILD_REF_TYPES 1)
9797

9898
if (NOT MSVC)
9999
# linker flags

0 commit comments

Comments
 (0)