Skip to content

Commit c0c1cb4

Browse files
Update README.md
1 parent 7375c71 commit c0c1cb4

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

+15
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,21 @@
44

55
Swift framework to interact with JavaScript through WebAssembly.
66

7+
## Requirements
8+
9+
This library only supports [`swiftwasm/swift`](https://github.com/swiftwasm/swift) distribution toolchain. Please install Swift for WebAssembly toolchain from [Release Page](https://github.com/swiftwasm/swift/releases)
10+
11+
The toolchains can be installed via [`swiftenv`](https://github.com/kylef/swiftenv) like official nightly toolchain.
12+
13+
e.g.
14+
```sh
15+
16+
$ swiftenv install https://github.com/swiftwasm/swift/releases/download/swift-wasm-DEVELOPMENT-SNAPSHOT-2020-03-08-a/swift-wasm-DEVELOPMENT-SNAPSHOT-2020-03-08-a-osx.tar.gz
17+
$ swift --version
18+
Swift version 5.2-dev (LLVM 7fc8796bc1, Swift 5be35e7aee)
19+
Target: x86_64-apple-darwin19.3.0
20+
```
21+
722
## Usage
823

924
This JavaScript code

0 commit comments

Comments
 (0)