mirror of
https://github.com/apple/container.git
synced 2026-10-25 16:18:57 +00:00
Start converting libraries to use FoundationEssentials (#676)
This helps on binary size if we can successfully get all Foundation imports out of our dep chain. It seems Foundation brings in a 30MiB ICU blob, which bloats vmexec and vminitd.
This commit is contained in:
1 parent
8c53f4d526
commit
57f623d7f7
15 files changed
+125
-8
No files matched your search
@@ -15,7 +15,11 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if os(macOS)
|
||||
#if canImport(FoundationEssentials)
|
||||
import FoundationEssentials
|
||||
#else
|
||||
import Foundation
|
||||
#endif
|
||||
|
||||
/// Holds the result of a query to the keychain.
|
||||
public struct KeychainQueryResult {
|
||||
|
||||
Reference in new issue
Block a user