This repository was archived by the owner on Feb 26, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -498,6 +498,7 @@ extension PackageInfo.Target {
498498 case unsafeFlags( [ String ] )
499499 case enableUpcomingFeature( String )
500500 case enableExperimentalFeature( String )
501+ case interoperabilityMode( String )
501502 }
502503
503504 public init ( from decoder: Decoder ) throws {
@@ -507,6 +508,9 @@ extension PackageInfo.Target {
507508 condition = try container. decodeIfPresent ( PackageInfo . PackageConditionDescription. self, forKey: . condition)
508509 if let kind = try ? container. decode ( Kind . self, forKey: . kind) {
509510 switch kind {
511+ case let . interoperabilityMode( mode) :
512+ name = . interoperabilityMode
513+ value = [ mode]
510514 case let . headerSearchPath( value) :
511515 name = . headerSearchPath
512516 self . value = [ value]
@@ -544,6 +548,8 @@ extension PackageInfo.Target {
544548 try container. encode ( tool, forKey: . tool)
545549 try container. encodeIfPresent ( condition, forKey: . condition)
546550 switch name {
551+ case . interoperabilityMode:
552+ try container. encode ( Kind . interoperabilityMode ( value. first!) , forKey: . kind)
547553 case . headerSearchPath:
548554 try container. encode ( Kind . headerSearchPath ( value. first!) , forKey: . kind)
549555 case . define:
You can’t perform that action at this time.
0 commit comments