Skip to content

Commit 4432051

Browse files
authored
Merge pull request #72311 from kubamracek/embedded-status-update3
[embedded] Add language feature list to EmbeddedSwiftStatus.md
2 parents ee197ae + 4389ae2 commit 4432051

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

docs/EmbeddedSwift/EmbeddedSwiftStatus.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,21 @@
66

77
For an introduction and motivation into Embedded Swift, please see "[A Vision for Embedded Swift](https://github.com/apple/swift-evolution/blob/main/visions/embedded-swift.md)", a Swift Evolution document highlighting the main goals and approaches.
88

9+
## Embedded Swift Language Features
10+
11+
| **Language Feature** | **Currently Supported In Embedded Swift** |
12+
|-------------------------------------------------------|-------------------------------------------|
13+
| *Anything not listed below* | Yes |
14+
| Library Evolution (resilience) | No, intentionally unsupported long-term |
15+
| Objective-C interoperability | No, intentionally unsupported long-term |
16+
| Non-WMO builds | No, intentionally unsupported long-term (WMO should be used) |
17+
| Existentials | No, currently disallowed |
18+
| Any, AnyObject | No, currently disallowed |
19+
| Metatypes | No, currently only allowed as unused arguments (type hints) |
20+
| Untyped throwing | No, intentionally unsupported long-term (typed throwing should be used instead) |
21+
| Weak references, unowned references | No |
22+
| Non-final generic class methods | No, intentionally unsupported long-term |
23+
924
## Embedded Standard Library Breakdown
1025

1126
This status table describes which of the following standard library features can be used in Embedded Swift:
@@ -27,7 +42,7 @@ This status table describes which of the following standard library features can
2742
| Integer parsing | No |
2843
| KeyPaths | No |
2944
| Lazy collections | No |
30-
| Mirror | No, intentionally unsupported long-term |
45+
| Mirror (runtime reflection) | No, intentionally unsupported long-term |
3146
| Objective-C bridging | No, intentionally unsupported long-term |
3247
| Optional | Yes |
3348
| print / debugPrint | Partial (only StaticStrings and integers) |

0 commit comments

Comments
 (0)