swiftwasm/swift

Code Coverage Support

Closed this issue · 0 comments

$ swift build --swift-sdk DEVELOPMENT-SNAPSHOT-2024-08-11-a-wasm32-unknown-wasi --build-tests  --enable-code-coverage
Building for debugging...
error: profiling is unsupported for target 'wasm32-unknown-wasi'
[17/18] Linking ExamplePackageTests.wasm
  • Place and load coverage metadata on/from custom sections instead of data segments