So for the following code snippet in this repo, if we include and use them in diff compile units(eg. different .m files) the block in dispatch_once will be executed once for each compile units.
Just wanted to check in and see if there’s been any update or movement on this issue. No rush at all — just curious since I’ve been digging into some related low-level behavior recently.
By the way, I’ve also found a similar header include issue(included by multi compile unit) in dyld (filed as FB20820097. See detail in this article).
Appreciate all the work you’ve been doing on corelibs Foundation!
Hi there @Kyle-Ye – the time zone, locale, and calendar code was removed in commit 3b4b7b4658 when we ditched the C implementations of these APIs and moved them to using the Swift ones that are part of swift-foundation.
Are there other inline functions that have the same issue?