Here's a workaround around that bug i created#65
Here's a workaround around that bug i created#65IgorMuzyka wants to merge 1 commit intoiCharlesHu:charles/mutex-availabilityfrom
Conversation
…agating `@available(macOS 15, *)` allowing to evade bumping package version to macOS 15 and instead supplying this Trait when depending on Subprocess package and hiding things which cascade the `Atomic` & `AsyncSequence<Result, Failure>` requirement for macOS 15
|
The bug in question. Now if i specify package like this: while having my package platforms be |
|
Essentially when you add this trait it just enables the following in places which cascade from those 2cases/3places i pointed out in the issue/pull-request in swiftlang repo: #if ContemporaryMacOS
@available(macOS 15, *)
#endifPS: this solution was done under the influence of one liter of 🍺. |
8768b3d to
e30b5c2
Compare
|
Thanks for the PR! Unfortunately I don't think this approach will work because when I updated swiftlang/swift-subprocess#16 it should now work correctly on ancient macOSs now. |
|
My problem wasn't ancient macOS though, i have a package stating Will check later if your changes also fix this for me. |
Added package Trait
ContemporaryMacOSwhich acts as marker for propagating@available(macOS 15, *)allowing to evade bumping package version to macOS 15 and instead supplying this Trait when depending on Subprocess package and hiding things which cascade theAtomic&AsyncSequence<Result, Failure>requirement for macOS 15.@iCharlesHu let me know what you think about this.