Skip to content

Commit 27e41b3

Browse files
sebstoclaude
andcommitted
Add comment explaining why test helper avoids Foundation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f5570bb commit 27e41b3

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Sources/credential-process-test-helper/main.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
//
1313
//===----------------------------------------------------------------------===//
1414

15+
// This binary has zero dependencies (no Foundation, no SotoCore) so it builds
16+
// fast and doesn't pull in the rest of the package graph. We construct JSON
17+
// manually and use libc gmtime_r for ISO8601 dates instead of Codable/JSONEncoder
18+
// and ISO8601DateFormatter which would require Foundation.
19+
1520
#if canImport(Glibc)
1621
import Glibc
1722
#elseif canImport(Musl)

0 commit comments

Comments
 (0)