|
688 | 688 | Description = "Enable passing non-Sendable values over isolation boundaries when there's no possibility of concurrent access. This is always enabled when in the Swift 6 language mode.";
|
689 | 689 | },
|
690 | 690 |
|
| 691 | + { |
| 692 | + Name = "SWIFT_UPCOMING_FEATURE_DYNAMIC_ACTOR_ISOLATION"; |
| 693 | + Type = Boolean; |
| 694 | + DefaultValue = "$(SWIFT_UPCOMING_FEATURE_6_0)"; |
| 695 | + Condition = "$(EFFECTIVE_SWIFT_VERSION) == '4' || $(EFFECTIVE_SWIFT_VERSION) == '4.2' || $(EFFECTIVE_SWIFT_VERSION) == '5'"; |
| 696 | + CommandLineArgs = { |
| 697 | + YES = ( "-enable-upcoming-feature", "DynamicActorIsolation" ); |
| 698 | + NO = (); |
| 699 | + }; |
| 700 | + DisplayName = "Dynamic Actor Isolation"; |
| 701 | + Category = "Upcoming Features"; |
| 702 | + Description = "Enable actor isolation checking at runtime for synchronous isolated functions. This is always enabled when in the Swift 6 language mode."; |
| 703 | + }, |
| 704 | + |
| 705 | + { |
| 706 | + Name = "SWIFT_UPCOMING_FEATURE_NONFROZEN_ENUM_EXHAUSTIVITY"; |
| 707 | + Type = Boolean; |
| 708 | + DefaultValue = "$(SWIFT_UPCOMING_FEATURE_6_0)"; |
| 709 | + Condition = "$(EFFECTIVE_SWIFT_VERSION) == '4' || $(EFFECTIVE_SWIFT_VERSION) == '4.2' || $(EFFECTIVE_SWIFT_VERSION) == '5'"; |
| 710 | + CommandLineArgs = { |
| 711 | + YES = ( "-enable-upcoming-feature", "NonfrozenEnumExhaustivity" ); |
| 712 | + NO = (); |
| 713 | + }; |
| 714 | + DisplayName = "Nonfrozen Enum Exhaustivity"; |
| 715 | + Category = "Upcoming Features"; |
| 716 | + Description = "Enable errors when switching over nonfrozen enums without an `@unknown default` case. This is always enabled when in the Swift 6 language mode."; |
| 717 | + }, |
| 718 | + |
| 719 | + { |
| 720 | + Name = "SWIFT_UPCOMING_FEATURE_GLOBAL_ACTOR_ISOLATED_TYPES_USABILITY"; |
| 721 | + Type = Boolean; |
| 722 | + DefaultValue = "$(SWIFT_UPCOMING_FEATURE_6_0)"; |
| 723 | + Condition = "$(EFFECTIVE_SWIFT_VERSION) == '4' || $(EFFECTIVE_SWIFT_VERSION) == '4.2' || $(EFFECTIVE_SWIFT_VERSION) == '5'"; |
| 724 | + CommandLineArgs = { |
| 725 | + YES = ( "-enable-upcoming-feature", "GlobalActorIsolatedTypesUsability" ); |
| 726 | + NO = (); |
| 727 | + }; |
| 728 | + DisplayName = "Global-Actor-Isolated Types Usability"; |
| 729 | + Category = "Upcoming Features"; |
| 730 | + Description = "Enable new concurrency checking rules for global-actor-isolated types. This is always enabled when in the Swift 6 language mode."; |
| 731 | + }, |
| 732 | + |
691 | 733 | // Upcoming Swift "next" features
|
692 | 734 | {
|
693 | 735 | Name = "SWIFT_UPCOMING_FEATURE_INTERNAL_IMPORTS_BY_DEFAULT";
|
|
0 commit comments