From 0a7775ad057a3e427615d69fbfc0a2ed842ff561 Mon Sep 17 00:00:00 2001 From: Hood Chatham Date: Mon, 24 Aug 2026 14:13:38 -0700 Subject: [PATCH] gh-156243: Use EM_JS_DEPS to indicate that emscripten_runtime depends on stringToNewUTF8 --- Python/sysmodule.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 5051dfc3ec0f86..10087c1ccaac17 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -3868,6 +3868,8 @@ static PyStructSequence_Desc emscripten_info_desc = { 4 }; +EM_JS_DEPS(_Py_emscripten_runtime, "$stringToNewUTF8") + EM_JS(char *, _Py_emscripten_runtime, (void), { var info; if (typeof process === "object") {