mirror of
https://github.com/apple/swift-collections
synced 2026-11-25 04:37:48 +00:00
Add support for embedded Swift mode
Remove calls to `debugPrint` (which does not exist), and ifdef out support for `Codable` and `Reflection`.
This commit is contained in:
48 files changed
+106
-1
No files matched your search
@@ -9,9 +9,11 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if !$Embedded
|
||||
extension BitArray: CustomReflectable {
|
||||
/// The custom mirror for this instance.
|
||||
public var customMirror: Mirror {
|
||||
Mirror(self, unlabeledChildren: self, displayStyle: .collection)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
Reference in new issue
Block a user