Skip to content

Commit 8caef31

Browse files
author
Gabor Horvath
committed
[cxx-interop] Make safe interop wrapper accessible in production compilers
Explanation: The experimental feature flag was not available for production compilers. There is no reason for that. Issue: rdar://148961491 Risk: Low, no functional changes other than making the flag available. Original PR: #80713 Reviewer:
1 parent b3881cd commit 8caef31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/Basic/Features.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ EXPERIMENTAL_FEATURE(TrailingComma, false)
457457

458458
// Import bounds safety and lifetime attributes from interop headers to
459459
// generate Swift wrappers with safe pointer types.
460-
EXPERIMENTAL_FEATURE(SafeInteropWrappers, false)
460+
EXPERIMENTAL_FEATURE(SafeInteropWrappers, true)
461461

462462
/// Ignore resilience errors due to C++ types.
463463
EXPERIMENTAL_FEATURE(AssumeResilientCxxTypes, true)

0 commit comments

Comments
 (0)