Hello,
I hope that this is the right channel for this type of question?
I've previously asked in swift-users about building a static binary, on
Linux, using:
swift build -Xswiftc -static-stdlib
It works for simple programs but fails on those importing Foundation.
I was pointed at this bug/feat
Here is your TWISt-shout Newsletter for the week of 2016-08-29 to 2016-09-04
https://github.com/pepperdog/TWISt-shout/blob/master/2016/TWISt-shout-2016-09-05.md
Enjoy!
-Kenny
___
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mai
> On Sep 5, 2016, at 4:13 AM, Joel Hughes via swift-dev
> wrote:
>
> Hello,
>
> I hope that this is the right channel for this type of question?
>
> I've previously asked in swift-users about building a static binary, on
> Linux, using:
>
> swift build -Xswiftc -static-stdlib
>
> It works
Hello swift-dev,
I was wondering why type erasers (e.g. for AnyIterator) are implemented the
way they are. I would implement AnyIterator like this:
final class MyAnyIterator: IteratorProtocol {
var nextImpl: () -> A?
init(iterator: I) where I.Element == A {
var copy = iterator
On Mon, Sep 5, 2016 at 11:13 AM, Chris Eidhof via swift-dev
wrote:
> Hello swift-dev,
>
> I was wondering why type erasers (e.g. for AnyIterator) are implemented the
> way they are. I would implement AnyIterator like this:
>
> final class MyAnyIterator: IteratorProtocol {
> var nextImpl: () ->