Jacek Caban (@jacek) commented about include/msvcrt/stdlib.h:
_ACRTIMP DECLSPEC_NORETURN void __cdecl _exit(int); _ACRTIMP DECLSPEC_NORETURN void __cdecl abort(void); _ACRTIMP int __cdecl abs(int); +#ifndef _UCRT _ACRTIMP int __cdecl atexit(void (__cdecl *)(void)); +#else +extern int __cdecl atexit(void (__cdecl *)(void)); +#endif
I guess we could just drop `_ACRTIMP`. Ideally, we'd provide it in a static library on other CRTs too. Meantime, missing `_ACRTIMP` does not prevent linking to importlib, it just makes it slightly less efficient.