Skip to content

Commit a62cf5f

Browse files
author
Gabor Horvath
committed
[cxx-interop] Make safe interop wrapper accessible in production compilers
There is no reason to limit this experimental feature to development compilers. rdar://148961491
1 parent 0ae0528 commit a62cf5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/Basic/Features.def

+1-1
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)