Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 21 additions & 9 deletions Sources/SWBUniversalPlatform/Specs/Swift.xcspec
Original file line number Diff line number Diff line change
Expand Up @@ -795,11 +795,17 @@

{
Name = "SWIFT_UPCOMING_FEATURE_EXISTENTIAL_ANY";
Type = Boolean;
DefaultValue = NO;
Type = Enumeration;
Values = (
Yes,
Migrate,
No,
);
DefaultValue = No;
CommandLineArgs = {
YES = ( "-enable-upcoming-feature", "ExistentialAny" );
NO = ();
Yes = ( "-enable-upcoming-feature", "ExistentialAny" );
Migrate = ( "-enable-upcoming-feature", "ExistentialAny:migrate" );
No = ();
};
DisplayName = "Require Existential any";
Category = "Upcoming Features";
Expand All @@ -821,13 +827,19 @@

{
Name = "SWIFT_UPCOMING_FEATURE_NONISOLATED_NONSENDING_BY_DEFAULT";
Type = Boolean;
DefaultValue = NO;
Type = Enumeration;
Values = (
Yes,
Migrate,
No,
);
DefaultValue = No;
CommandLineArgs = {
YES = ( "-enable-upcoming-feature", "NonisolatedNonsendingByDefault" );
NO = ();
Yes = ( "-enable-upcoming-feature", "NonisolatedNonsendingByDefault" );
Migrate = ( "-enable-upcoming-feature", "NonisolatedNonsendingByDefault:migrate" );
No = ();
};
DisplayName = "Nonisolated Nonsending By Default";
DisplayName = "nonisolated(nonsending) By Default";
Category = "Upcoming Features";
Description = "Runs nonisolated async functions on the caller's actor by default unless the function is explicitly marked `@concurrent`.";
},
Expand Down