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 @@ -159,7 +159,7 @@ class TaskFutureWaitAsyncContext : public AsyncContext {
159
159
} // end anonymous namespace
160
160
161
161
// / The current state of a task's status records.
162
- class ActiveTaskStatus {
162
+ class alignas ( sizeof ( void *) * 2 ) ActiveTaskStatus {
163
163
enum : uintptr_t {
164
164
// / The current running priority of the task.
165
165
PriorityMask = 0xFF ,
You can’t perform that action at this time.
0 commit comments