Skip to content

Conversation

@MahdiBM
Copy link
Contributor

@MahdiBM MahdiBM commented Dec 20, 2025

No description provided.

#if canImport(Darwin)
import Darwin
#elseif os(Windows)
import ucrt
Copy link
Contributor Author

@MahdiBM MahdiBM Dec 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Notice no WinSDK import unlike in the NIOLock file. I don't think it's needed but I haven't checked in a real environment or in CI.

Right now I'm setting up Android CI in swift-dns (swift-dns/swift-dns#99).
Later when I go for Windows CI set up (swift-dns/swift-dns#96) I'll have a proper result about the Windows compatibility and I can come back with any changes that might be needed.

Copy link
Contributor Author

@MahdiBM MahdiBM Dec 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The whole reason we need this is a pow call in this file.

@codecov
Copy link

codecov bot commented Dec 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.30%. Comparing base (d578b86) to head (b6cca02).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #618      +/-   ##
==========================================
- Coverage   76.40%   76.30%   -0.11%     
==========================================
  Files         134      134              
  Lines       10161    10161              
==========================================
- Hits         7764     7753      -11     
- Misses       2397     2408      +11     
Files with missing lines Coverage Δ
Sources/ConnectionPoolModule/NIOLock.swift 65.71% <ø> (ø)
...ources/ConnectionPoolModule/PoolStateMachine.swift 89.49% <ø> (ø)

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant