Merge pull request #71261 from xedin/introduce-thunks-for-runtime-check-func-refs

[Sema/SILGen] DynamicActorIsolation: Implement dynamic actor isolation checks for unsafe APIs
This commit is contained in:
Pavel Yaskevich
2024-02-02 13:32:00 -08:00
committed by GitHub
30 changed files with 494 additions and 72 deletions

View File

@@ -268,8 +268,10 @@ EXPERIMENTAL_FEATURE(GroupActorErrors, true)
// Allow for the 'transferring' keyword to be applied to arguments and results.
EXPERIMENTAL_FEATURE(TransferringArgsAndResults, true)
// Enable `@preconcurrency` attribute on protocol conformances.
EXPERIMENTAL_FEATURE(PreconcurrencyConformances, false)
// Enable `@preconcurrency` attribute on protocol conformances and runtime checks
// of actor isolation in @obj thunks and arguments of APIs that haven't yet adopted
// strict concurrency checking.
EXPERIMENTAL_FEATURE(DynamicActorIsolation, false)
// Allow for `switch` of noncopyable values to be borrowing or consuming.
EXPERIMENTAL_FEATURE(BorrowingSwitch, true)