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 33Install a development snapshot and Swift SDK for Wasm by following
44https://www.swift.org/documentation/articles/wasm-getting-started.html .
55
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 .
88```
99swift package --swift-sdk swift-DEVELOPMENT-SNAPSHOT-2025-06-03-a_wasm js --use-cdn
1010```
1111
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.
1414
1515> [ !NOTE]
1616> 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