File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed
Runtimes/Core/Concurrency
stdlib/public/Concurrency Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,7 @@ target_compile_options(swift_Concurrency PRIVATE
112
112
# NOTE: do not remove until `IsolatedAny` is on by default in all supported
113
113
# compilers.
114
114
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-enable-experimental-feature IsolatedAny>"
115
+ "$<$<COMPILE_LANGUAGE:Swift>:SHELL:-enable-experimental-feature Extern>"
115
116
# NOTE: enable the async frame pointer on Darwin to faciliate debugging.
116
117
$< $< AND:$< PLATFORM_ID:Darwin> ,$< COMPILE_LANGUAGE:C,CXX> > :-fswift-async-fp=always>
117
118
"$<$<AND:$<PLATFORM_ID:Darwin>,$<COMPILE_LANGUAGE:Swift>>:SHELL:-Xfrontend -swift-async-frame-pointer=always>"
Original file line number Diff line number Diff line change @@ -68,6 +68,8 @@ list(APPEND SWIFT_RUNTIME_CONCURRENCY_SWIFT_FLAGS
68
68
list (APPEND SWIFT_RUNTIME_CONCURRENCY_SWIFT_FLAGS "-strict-memory-safety" )
69
69
list (APPEND SWIFT_RUNTIME_CONCURRENCY_SWIFT_FLAGS "-enable-experimental-feature" "AllowUnsafeAttribute" )
70
70
71
+ list (APPEND SWIFT_RUNTIME_CONCURRENCY_SWIFT_FLAGS "-enable-experimental-feature" "Extern" )
72
+
71
73
list (APPEND SWIFT_RUNTIME_CONCURRENCY_C_FLAGS
72
74
"-D__STDC_WANT_LIB_EXT1__=1" )
73
75
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ extension MainActor {
166
166
167
167
168
168
#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS) || os(visionOS)
169
- @_silgen_name ( " pthread_main_np " )
169
+ @_extern ( c , " pthread_main_np " )
170
170
@usableFromInline
171
171
internal func pthread_main_np( ) -> CInt
172
172
You can’t perform that action at this time.
0 commit comments