[swift-evolution] deployment targets and frameworks

Drew Crawford drew at sealedabstract.com
Mon Apr 4 19:11:35 CDT 2016

> On Apr 4, 2016, at 7:01 PM, Jonathan Tang <jonathan.d.tang at gmail.com> wrote:
> I assume that the @available annotation generated would also work for watchOS, tvOS, etc. frameworks.


> How would it work for non-iOS Swift platforms?  I'm not terribly familiar with how #available works on Linux, but the versioning problem exists there too.

In my experience, "linux" cannot be listed inside @available.  I think we need to add it.

I'm not sure the "version" of Linux is meaningful (e.g. - interpreted as kernel version? glibc?) but I think clearly "linux" the vaguely-versioned platform should be allowed in an @availability attribute.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160404/43c74380/attachment.html>

More information about the swift-evolution mailing list