Skip to content

Conversation

sergiocampama
Copy link
Contributor

I was testing FlyingFox on Xcode 14 (planning on offering/contributing some new features, love this project :) ) and found that the tests crashed on some unsafePointer stuff, and traced it to this PR: swiftlang/swift#42002

Most likely the usage of the new inout APIs will be considered wrong, so wanted to send in this to help in the mean time.

Feel free to reject on the basis that Xcode 14 is beta and that you only support mainline builds of Xcode, but I think the unsafePointer changes are safe to include, on the basis that it enforces the usage of the UnsafePointer API and not the inout version.

The convenience removal was also a warning in Xcode 14 beta 4 (at least), unclear if that will be an issue in previous versions of Xcode (personal computer only has the latest edge macOS and Xcode versions :p )

@swhitty
Copy link
Owner

swhitty commented Aug 1, 2022

Thanks @sergiocampama much appreciated. I am more than happy to support Swift 5.7 as long as the changes are backwards compatible with Swift 5.5.

@codecov
Copy link

codecov bot commented Aug 1, 2022

Codecov Report

Merging #35 (dfb550a) into main (7012965) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #35   +/-   ##
=======================================
  Coverage   99.62%   99.62%           
=======================================
  Files          43       43           
  Lines        2123     2124    +1     
=======================================
+ Hits         2115     2116    +1     
  Misses          8        8           
Impacted Files Coverage Δ
FlyingSocks/Sources/SocketAddress.swift 98.90% <100.00%> (+0.01%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7012965...dfb550a. Read the comment docs.

@swhitty swhitty merged commit d4647bf into swhitty:main Aug 1, 2022
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.

2 participants