diff --git a/system/lib/libcxxabi/src/cxa_thread_atexit.cpp b/system/lib/libcxxabi/src/cxa_thread_atexit.cpp index dcf283ceb1df..bd7677a10ef9 100644 --- a/system/lib/libcxxabi/src/cxa_thread_atexit.cpp +++ b/system/lib/libcxxabi/src/cxa_thread_atexit.cpp @@ -113,8 +113,8 @@ extern "C" { return __cxa_thread_atexit_impl(dtor, obj, dso_symbol); #else #ifndef __EMSCRIPTEN__ - // Emscripten doesn't fully support weak undefined symbols yet - // https://github.com/emscripten-core/emscripten/issues/12819 + // Emscripten doesn't implement __cxa_thread_atexit_impl, so we can simply + // avoid this check. if (__cxa_thread_atexit_impl) { return __cxa_thread_atexit_impl(dtor, obj, dso_symbol); } else