On Windows, clang tries to link using ld, which of course does not exist.
I'm not sure if what's happening on macOS or Linux, but this needs to be solved at some level. Maybe the SDK should be updated to specify that lld is expected? (presuming the behavior is expected to be uniform across host platforms)
With ALTERNATE_LINKER=lld, Swift Build can successfully build Swift Subprocess on Windows using the Static Linux SDK.
On Windows, clang tries to link using
ld, which of course does not exist.I'm not sure if what's happening on macOS or Linux, but this needs to be solved at some level. Maybe the SDK should be updated to specify that lld is expected? (presuming the behavior is expected to be uniform across host platforms)
With
ALTERNATE_LINKER=lld, Swift Build can successfully build Swift Subprocess on Windows using the Static Linux SDK.