Skip to content

Commit 6dc5278

Browse files
Gnimucvgvassilev
authored andcommitted
Export runtime symbols
1 parent d576e30 commit 6dc5278

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/Interpreter/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ if(EMSCRIPTEN)
130130
PRIVATE "SHELL: -s WASM_BIGINT"
131131
PRIVATE "SHELL: -s SIDE_MODULE=1"
132132
PRIVATE "SHELL: ${SYMBOLS_LIST}"
133+
PUBLIC "SHELL: -Wl,--export=__clang_Interpreter_SetValueNoAlloc"
134+
PUBLIC "SHELL: -Wl,--export=__clang_Interpreter_SetValueWithAlloc"
133135
)
134136
if (CPPINTEROP_ENABLE_TESTING)
135137
# When compiling Emscripten tests the shared library it links to is expected to be in the same folder as the compiled Javascript

0 commit comments

Comments
 (0)