From 1016bba0bc4f730cb97c2d321129d9f44ae1af18 Mon Sep 17 00:00:00 2001 From: rdb Date: Tue, 7 Mar 2023 09:43:31 +0100 Subject: [PATCH 1/2] Fix missing _emscripten_timeout deps --- tools/deps_info.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/deps_info.py b/tools/deps_info.py index 449deab9d733c..778d75d286739 100644 --- a/tools/deps_info.py +++ b/tools/deps_info.py @@ -52,6 +52,7 @@ _deps_info = { 'alarm': ['_emscripten_timeout'], + 'sched_yield': ['_emscripten_timeout'], 'setitimer': ['_emscripten_timeout'], 'SDL_GL_GetProcAddress': ['malloc'], 'SDL_LockSurface': ['malloc', 'free'], @@ -125,6 +126,7 @@ 'emscripten_set_touchstart_callback_on_thread': ['malloc'], 'emscripten_set_visibilitychange_callback_on_thread': ['malloc'], 'emscripten_set_wheel_callback_on_thread': ['malloc'], + 'emscripten_thread_sleep': ['_emscripten_timeout'], 'emscripten_webgl_get_parameter_utf8': ['malloc'], 'emscripten_webgl_get_program_info_log_utf8': ['malloc'], 'emscripten_webgl_get_shader_info_log_utf8': ['malloc'], @@ -135,6 +137,7 @@ 'emscripten_websocket_set_onmessage_callback_on_thread': ['malloc', 'free'], 'emscripten_websocket_set_onopen_callback_on_thread': ['malloc'], 'emscripten_wget_data': ['malloc', 'free'], + 'emscripten_yield': ['_emscripten_timeout'], 'getaddrinfo': ['malloc', 'htonl', 'htons', 'ntohs'], 'gethostbyaddr': ['malloc', 'htons'], 'gethostbyname': ['malloc', 'htons'], From 515fbb280712d9a5ee8ca90b98c61e9e326b21b1 Mon Sep 17 00:00:00 2001 From: rdb Date: Tue, 7 Mar 2023 19:32:23 +0100 Subject: [PATCH 2/2] Address PR feedback --- tools/deps_info.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/deps_info.py b/tools/deps_info.py index 778d75d286739..8671b86b8795e 100644 --- a/tools/deps_info.py +++ b/tools/deps_info.py @@ -137,7 +137,6 @@ 'emscripten_websocket_set_onmessage_callback_on_thread': ['malloc', 'free'], 'emscripten_websocket_set_onopen_callback_on_thread': ['malloc'], 'emscripten_wget_data': ['malloc', 'free'], - 'emscripten_yield': ['_emscripten_timeout'], 'getaddrinfo': ['malloc', 'htonl', 'htons', 'ntohs'], 'gethostbyaddr': ['malloc', 'htons'], 'gethostbyname': ['malloc', 'htons'],