Open
Description
Motivation
Darwin uses a dyld hook for module registration. Windows provides a loader hook for module load notification globally. We should be able to use this to handle metadata registration similar to Darwin on Windows. Doing so would allow us to remove the need for swiftrt.obj
(and swiftrtT.obj`).
Proposed solution
Use https://learn.microsoft.com/en-us/windows/win32/devnotes/ldrregisterdllnotification for the notification.
Alternatives considered
No response
Additional information
No response