From 53a832af74a57eb3ad3d8f5d9c49087e7f3e0b5f Mon Sep 17 00:00:00 2001 From: anutosh491 Date: Fri, 10 Jan 2025 09:47:17 +0530 Subject: [PATCH] Export __clang_Interpreter_SetValueNoAlloc to allow automatic printf in xeus-cpp-lite --- lib/Interpreter/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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