What are the reasons for swiftc lacking an -emit-archive flag to generate static libraries?
Mostly just early on not yet having decided whether Swift would support static libraries at all. The answer to that has been "yes" for a long time, so patches welcome! (And that's probably a good name, better than
Great, I was hoping the reasons were as simple as that. I'll get started on a patch soon.
I was wondering what was going on with this. I think that this is part of what is keeping static libraries from being usable with Swift and CMake, so I would be interested in seeing this get done sooner rather than later.