rules_swift
rules_swift copied to clipboard
Support building shared libraries (.dylib/.so)
We should provide a way to build a .dylib/.so from Swift code instead of just an executable binary. cc_binary
does this via the linkshared
attribute (and requiring a specific name for the target). Investigate whether the same technique for swift_binary
makes sense, or if we should use another approach.