+// __cxa_thread_atexit_impl is used to more effeciently cleanup per-thread local storage by rust libstd.
+// However, it is not available on glibc versions 2.17 or earlier, and rust libstd has a null-check and fallback in case it is missing.
+// Because it is weak-linked on the rust side, we can simply define it explicitly here, forcing rust to use the fallback.
+void *__cxa_thread_atexit_impl = NULL;