On Fri, 6 Jan 2017, at 12:45, Ankit Agarwal wrote:
> Yes you should be able to import Foundation in REPL using the latest
> toolchain on linux.
I couldn't get it to work, even after installing the snapshot via
swiftenv. I wonder what I'm doing wrong?
> FWIW I am getting same error you are from
Yes you should be able to import Foundation in REPL using the latest
toolchain on linux. FWIW I am getting same error you are from latest
toolchain:
root@4027f71e87ff:/swiftpm# swift -I .build/debug -L .build/debug -lResult
-I /usr/lib/clang/3.8/include
Welcome to Swift version 3.1-dev (LLVM c3e05
On Fri, 6 Jan 2017, at 11:14, Ankit Agarwal wrote:
> Thats weird, you should be able to import Foundation from the
> toolchain
This is on Linux, so the toolchain stuff isn't relevant, is it?
Cheers, Robert.
___
swift-users mailing list
swift-users@s
Thats weird, you should be able to import Foundation from the toolchain
On Fri, Jan 6, 2017 at 4:28 PM, Robert Atkins <
ratkins+swift-us...@fastmail.fm> wrote:
> On Fri, 6 Jan 2017, at 09:45, Ankit Agarwal wrote:
>
> Might be, please file a JIRA with a minimal test case!
>
>
> As a first step I'm
On Fri, 6 Jan 2017, at 09:45, Ankit Agarwal wrote:
> Might be, please file a JIRA with a minimal test case!
As a first step I'm attempting to see if I get the same behaviour with
the latest Swift snapshot release but I'm having difficulty there too.
Simply downloading and un-tarring the Jan 4th
Might be, please file a JIRA with a minimal test case!
On Fri, Jan 6, 2017 at 3:11 PM, Robert Atkins <
ratkins+swift-us...@fastmail.fm> wrote:
> On Thu, 5 Jan 2017, at 18:13, Ankit Agarwal wrote:
>
> Using swift module in REPL:
>
>
> [...]
>
> $ swift build
> $ swift -I .build/debug -L .build/deb
On Thu, 5 Jan 2017, at 18:13, Ankit Agarwal wrote:
> Using swift module in REPL:
[...]
> $ swift build
> $ swift -I .build/debug -L .build/debug -lResult -I
> /usr/lib/clang/3.8/include
> Welcome to Swift version 3.1-dev (LLVM 217eb6c2b6, Clang 34a98ce92e,
> Swift 1eb5648c46). Type :help fo
Using swift module in REPL:
Toolchain: January 4, 2017
Platform: Ubuntu 16.04
Add this at end of Package.swift:
```
products += [Product(name: "Result", type: .Library(.Dynamic), modules:
"Result")]
```
$ swift build
$ swift -I .build/debug -L .build/debug -lResult -I
/usr/lib/clang/3.8/includ
Hi all,
I'm trying to solve a simple (?) problem where a test suite runs fine on
macOS but fails on Linux
(https://github.com/antitypical/Result/pull/210#pullrequestreview-14963305).
I've downloaded and installed the Swift Linux Docker image
(https://ashfurrow.com/blog/swift-on-linux/) and got the