Codable
is unavailable in Embedded Swift and no alternative is present
#78811
Labels
Codable
Area → standard library: `Codable` and co.
embedded
Embedded Swift
standard library
Area: Standard library umbrella
Description
Serializing and deserializing data is a frequent requirement for embedded applications.
Reproduction
Attempt to add
Codable
conformance to any type when Embedded Swift is enabled.Expected behavior
A
Codable
conformance is generated for compatible types, or actionable diagnostic message is emitted that suggests viable alternatives.Environment
Swift 6.1 development snapshots for any of the supported platforms.
The text was updated successfully, but these errors were encountered: