File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 3
3
Install a development snapshot and Swift SDK for Wasm by following
4
4
https://www.swift.org/documentation/articles/wasm-getting-started.html .
5
5
6
- Build with the installed SDK using JavaScriptKit's ` PackageToJSPlugin ` plugin. Make sure to update
7
- the Swift SDK to the installed version .
6
+ Build with the installed Swift SDK using JavaScriptKit's ` PackageToJSPlugin ` plugin. Make sure to update
7
+ the Swift SDK in the following command to the version that matches your installed swift.org toolchain .
8
8
```
9
9
swift package --swift-sdk swift-DEVELOPMENT-SNAPSHOT-2025-06-03-a_wasm js --use-cdn
10
10
```
11
11
12
- Start a HTTP server with eg. ` python -m http.server ` or ` npx serve ` . And then open
13
- http://localhost:8000 to view the render of Swift using WebGPU.
12
+ Start a HTTP server with eg. ` python -m http.server ` or ` npx serve ` , then open
13
+ http://localhost:8000 to view the Swift logo rendered using WebGPU.
14
14
15
15
> [ !NOTE]
16
16
> If using an editor with SourceKit-LSP, make sure to update ` .sourcekit-lsp/config.json ` with the
You can’t perform that action at this time.
0 commit comments