File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
stdlib/public/Concurrency Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,7 @@ endif()
33
33
# Frustratingly, in many cases this isn't necessary because the
34
34
# sequence is inlined, but we have some code that's just subtle
35
35
# enough to turn into runtime calls.
36
- if (SWIFT_HOST_VARIANT STREQUAL "linux" OR
37
- SWIFT_HOST_VARIANT STREQUAL "android" )
36
+ if (SWIFT_HOST_VARIANT STREQUAL "android" )
38
37
list (APPEND SWIFT_RUNTIME_CONCURRENCY_SWIFT_LINK_FLAGS
39
38
-latomic )
40
39
endif ()
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ class TaskFutureWaitAsyncContext : public AsyncContext {
132
132
} // end anonymous namespace
133
133
134
134
// / The current state of a task's status records.
135
- class ActiveTaskStatus {
135
+ class alignas ( sizeof ( void *) * 2 ) ActiveTaskStatus {
136
136
enum : uintptr_t {
137
137
// / The current running priority of the task.
138
138
PriorityMask = 0xFF ,
You can’t perform that action at this time.
0 commit comments