Tony Parker
Tony Parker
I actually tried to fix this too, but it causes an ABI breakage on Darwin. I'm not sure it's possible to compatibly add a requirement to a protocol like this.
I think it boils down to a new requirement that would be imposed upon anyone who adopts this (outside the framework), which we don't have any mechanism to enforce. I...
We're looking into what we can do here in the short term.
@compnerd any idea what we can do about this one, given the ABI break?
Understood - we're discussing some options.
We need `data(using:)` for non-internationalization related APIs, which is why it is implemented in Essentials. I don't quite understand option 1 here, because FoundationInternationalization is layered above Essentials. We can...
Take a look at the technique we use in [Calendar_Cache.swift](https://github.com/swiftlang/swift-foundation/blob/main/Sources/FoundationEssentials/Calendar/Calendar_Cache.swift#L23) for an example. When on Darwin (where this is all one module) or when on non-Darwin and a callback has...
I'd prefer to close this issue since it is resolved. We can have individual issues to track reimplementing encoding in Swift, where appropriate.
I think we should actually be bulk merging main to 6.2 for the next few months. Cc @itingliu @shahmishal
@stephentyrone was looking into this