Skip to content

Commit d2cef90

Browse files
committed
Concurrency: correct symbol storage annotation
This marks the decls as being defined in swift_Concurrency rather than swiftCore. This corrects the dllstorage attribution which is required to get the symbol exported properly.
1 parent 238aeff commit d2cef90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/Concurrency/Debug.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ namespace swift {
2525
// dispatch.
2626

2727
/// The metadata pointer used for job objects.
28-
SWIFT_RUNTIME_STDLIB_SPI
28+
SWIFT_EXPORT_FROM(swift_Concurrency)
2929
const void *const _swift_concurrency_debug_jobMetadata;
3030

3131
/// The metadata pointer used for async task objects.
32-
SWIFT_RUNTIME_STDLIB_SPI
32+
SWIFT_EXPORT_FROM(swift_Concurrency)
3333
const void *const _swift_concurrency_debug_asyncTaskMetadata;
3434

3535
} // namespace swift

0 commit comments

Comments
 (0)