We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f449b79 commit 7471d5aCopy full SHA for 7471d5a
wamr-wasi-extensions/socket/CMakeLists.txt
@@ -13,6 +13,12 @@ target_include_directories(wamr-wasi-socket
13
$<BUILD_INTERFACE:${wasi_socket_header_dir}>
14
$<INSTALL_INTERFACE:include>)
15
16
+# as this is a library, be extra conservative about wasm features
17
+# to improve compatibilities. as this particular library is just a
18
+# simple static stub, extra wasm features won't benefit us much anyway.
19
+# note that LLVM-19 enables reference-types by default.
20
+target_compile_options(wamr-wasi-socket PRIVATE -mno-reference-types)
21
+
22
install(TARGETS wamr-wasi-socket
23
EXPORT wamr-wasi-socket-config
24
PUBLIC_HEADER DESTINATION include)
0 commit comments