File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ subdirectory when you build in release mode.
73
73
74
74
## Code coverage with ` SwiftPM `
75
75
76
- > ** Note** : Code coverage support is available only in nightly toolchains for now .
76
+ > ** Note** : Code coverage support is available only in 6.1 and later .
77
77
78
78
You can also generate code coverage reports for your test suite. To do this, you need to build your
79
79
test suite with the ` --enable-code-coverage ` and linker options ` -Xlinker -lwasi-emulated-getpid ` :
@@ -95,6 +95,8 @@ $ llvm-cov show .build/wasm32-unknown-wasi/debug/ExamplePackageTests.wasm -instr
95
95
$ open coverage/index.html
96
96
```
97
97
98
+ ![ ] ( ./coverage-support.png )
99
+
98
100
## Building and running the test suite with ` carton `
99
101
100
102
If you use [ ` carton ` ] ( https://carton.dev ) to develop and build your app, as described in [ our guide
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ This guide will help you configure Visual Studio Code (VSCode) to use the Swift
8
8
9
9
- [ Visual Studio Code] ( https://code.visualstudio.com/ )
10
10
- [ Swift for Visual Studio Code] ( https://marketplace.visualstudio.com/items?itemName=sswg.swift-lang )
11
- - [ Swift Development Snapshot ] ( https://swift.org/install ) (` swift-DEVELOPMENT-SNAPSHOT-2024-09-04-a ` or later)
11
+ - [ Swift OSS Toolchain ] ( https://swift.org/install ) (6.1 or later)
12
12
- [ Swift SDK for WebAssembly] ( ./setup-snapshot.md )
13
13
14
14
You can’t perform that action at this time.
0 commit comments