[swift-corelibs-dev] exit

Chris Lattner clattner at apple.com
Sun Jan 17 16:03:42 CST 2016


On Jan 17, 2016, at 1:29 PM, Philippe Hausler <phausler at apple.com> wrote:
> So I tried it out and it looks to be spot on exactly what we want. But the grammar is `@_exported` is this kosher for Foundation to use?

It isn’t ideal, since it is effectively a compiler-private implementation API.  However, you have no other option (and are already doing it for Darwin) so I think it is the best path.  

-Chris

> 
>> On Jan 17, 2016, at 10:40 AM, Chris Lattner <clattner at apple.com> wrote:
>> 
>> 
>>> On Jan 17, 2016, at 10:14 AM, Philippe Hausler <phausler at apple.com> wrote:
>>> 
>>> So we should be using `@exported import Glibc` on linux and `@exported import Darwin` on darwin then?
>> 
>> Yep.
>> 
>>> Does this need to be for every import of Glibc? or just one somewhere in the swift files?
>> 
>> Just do this in the same places it is happening for Darwin.
>> 
>> -Chris
>> 
> 



More information about the swift-corelibs-dev mailing list