diff --git a/lib/Interpreter/CMakeLists.txt b/lib/Interpreter/CMakeLists.txt index ba699dc83..b9fb52269 100644 --- a/lib/Interpreter/CMakeLists.txt +++ b/lib/Interpreter/CMakeLists.txt @@ -19,6 +19,7 @@ if(EMSCRIPTEN) ) target_link_options(clangCppInterOp PRIVATE PUBLIC "SHELL: -s WASM_BIGINT" + PUBLIC "SHELL: -Wl,--export=__clang_Interpreter_SetValueNoAlloc" ) else() set(LLVM_LINK_COMPONENTS