Closed compnerd closed 1 year ago
TODO: this requires further refinement to detect the Swift toolchain installation.
I’m fine if you do this as a follow-up.
Yeah, I think that we should address that as a follow up. The current plan to change the install location means that this path is going to need to be dynamic.
This adds Windows specific handling for dynamic symbol resolution into a library. The
dlopen
anddlsym
APIs are not portable as they are part of POSIX rather than the C standard. Use the Windows equivalents ofLoadLibraryW
andGetProcAddress
.TODO: this requires further refinement to detect the Swift toolchain installation.