Skip to content

Commit 30939af

Browse files
committed
Update Data shim availability for FoundationEssentials
1 parent 6487a53 commit 30939af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Sources/TLVCoding/Data.swift‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// (e.g. Embedded Swift). Not API-complete — TLV round-tripping only.
77
//
88

9-
#if !canImport(Foundation) || hasFeature(Embedded)
9+
#if (!canImport(FoundationEssentials) && !canImport(Foundation)) || hasFeature(Embedded)
1010

1111
public struct Data: Sendable {
1212

0 commit comments

Comments
 (0)