Re: [swift-dev] Cross-compiling (nearly) everything for RPi from OSX

2016-05-10 Thread Karl Wagner via swift-dev
> On 10 May 2016, at 04:11, Karl Wagner wrote: > > I’ve managed to cross-compile the swift tools for the Raspberry Pi from OSX. > > I thought I’d share my changes. Branch is here: > https://github.com/karwa/swift . I’ll work on > merging it soon. > > The only

Re: [swift-dev] [SR-710][RFC] Automatically detecting XCTest test methods on Linux: Reflection? SourceKit?

2016-05-10 Thread Argyrios Kyrtzidis via swift-dev
> On May 9, 2016, at 7:35 PM, Brian Gesiak via swift-dev > wrote: > > Thanks for the feedback, everyone! > > Porting SourceKit to Linux seems like a reasonable solution to me. Still, > there are 354 lines of code in tools/SourceKit that reference "XPC", so a > Linux port will take more than

Re: [swift-dev] Help with SR-1052: Handling generic return values

2016-05-10 Thread Trent Nadeau via swift-dev
Thanks for the help. Everything appears to be working, and I created a PR ( https://github.com/apple/swift/pull/2459) for the changes to use @discardableResult and have the unused warnings turned on by default. On Wed, May 4, 2016 at 2:36 PM, Trent Nadeau wrote: > Thanks, Joe. I'll give ApplyExp

Re: [swift-dev] swift (ABI) and Windows

2016-05-10 Thread Saleem Abdulrasool via swift-dev
On Monday, May 9, 2016, Joe Groff wrote: > > > On May 9, 2016, at 7:19 PM, Saleem Abdulrasool > wrote: > > > > On Sat, May 7, 2016 at 7:55 PM, Sangjin Han > wrote: > > One more, > > > > I couldn't build the libswiftCore.dll which can be used for Hello.swift. > At least one symbol _TMSS is not d

Re: [swift-dev] swift (ABI) and Windows

2016-05-10 Thread Joe Groff via swift-dev
> On May 10, 2016, at 2:25 PM, Saleem Abdulrasool wrote: > > On Monday, May 9, 2016, Joe Groff wrote: > > > On May 9, 2016, at 7:19 PM, Saleem Abdulrasool > > wrote: > > > > On Sat, May 7, 2016 at 7:55 PM, Sangjin Han wrote: > > One more, > > > > I couldn't build the libswiftCore.dll which

Re: [swift-dev] swift (ABI) and Windows

2016-05-10 Thread Saleem Abdulrasool via swift-dev
On Tue, May 10, 2016 at 2:29 PM, Joe Groff wrote: > It might help to centralize the logic. In IRGen, there's a function > getIRLinkage that decomposes a semantic SIL visibility into an LLVM linkage > and visibility pair: > > https://github.com/apple/swift/blob/master/lib/IRGen/GenDecl.cpp#L1201 >

Re: [swift-dev] swift (ABI) and Windows

2016-05-10 Thread Sangjin Han via swift-dev
Joe, LLVM's MCJIT? Did you mean the REPL mode? I'm not ready to ask a question or understand the answer about them. Maybe it takes some time for me to handle them. Currently, I want to concentrate on the immediate mode, dynamic/static linking on Windows (MSVC). By the way, in Cygwin (although it

Re: [swift-dev] swift (ABI) and Windows

2016-05-10 Thread Joe Groff via swift-dev
> On May 10, 2016, at 3:11 PM, Sangjin Han wrote: > > Joe, > > LLVM's MCJIT? Did you mean the REPL mode? By immediate mode, do you mean "swift foo.swift", where the script is immediately compiled and executed? That also uses MCJIT. > > I'm not ready to ask a question or understand the answe

Re: [swift-dev] swift (ABI) and Windows

2016-05-10 Thread Sangjin Han via swift-dev
Yes, I ran 'swift Hello.swift'. I didn't know there is MCJIT in that. I'll ask and find the answer for it. -Han Sangjin 2016-05-11 7:14 GMT+09:00 Joe Groff : > > > On May 10, 2016, at 3:11 PM, Sangjin Han wrote: > > > > Joe, > > > > LLVM's MCJIT? Did you mean the REPL mode? > > By immediate mod

[swift-dev] Broken development snapshot

2016-05-10 Thread Mikio Takeuchi via swift-dev
It looks like the current (May 9) snapshot of master for Xcode with symbols is broken. Someone, please upload the right one. thanks, -- Mikio ___ swift-dev mailing list swift-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-dev

[swift-dev] Swift compiler plugins

2016-05-10 Thread Jorge Bernal via swift-dev
I’ve recently been looking into implementing a lint checker for Swift code in my project. I’ve used SwiftLint[1] so far, but I’d love to build something that integrates more closely with Xcode: only check what is being rebuild, provide Fix-Its,… From what I’ve found there’s no equivalent of Cla