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.
7373
7474## Code coverage with ` SwiftPM `
7575
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 .
7777
7878You can also generate code coverage reports for your test suite. To do this, you need to build your
7979test 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
9595$ open coverage/index.html
9696```
9797
98+ ![ ] ( ./coverage-support.png )
99+
98100## Building and running the test suite with ` carton `
99101
100102If 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
88
99- [ Visual Studio Code] ( https://code.visualstudio.com/ )
1010- [ 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)
1212- [ Swift SDK for WebAssembly] ( ./setup-snapshot.md )
1313
1414
You can’t perform that action at this time.
0 commit comments