Limit TSD bootstrap hook to tests

This commit is contained in:
Farid Zakaria 2026-07-06 11:03:51 -07:00 committed by Slobodan Predolac
parent 54f22c83d8
commit b859093d28
4 changed files with 5 additions and 142 deletions

View file

@ -14,5 +14,7 @@ void (*test_hooks_libc_hook)(void) = NULL;
JEMALLOC_EXPORT
void (*test_hooks_safety_check_abort)(const char *) = NULL;
#if defined(JEMALLOC_JET) || defined(JEMALLOC_UNIT_TEST)
JEMALLOC_EXPORT
void (*test_hooks_tsd_bootstrap_hook)(void) = NULL;
#endif