Skip to content

Commit 4f8c015

Browse files
committed
update some missing places with _
1 parent 8c13370 commit 4f8c015

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

stdlib/public/Distributed/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ add_swift_target_library(swiftDistributed ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} IS
3030
LINK_LIBRARIES ${swift_distributed_link_libraries}
3131

3232
C_COMPILE_FLAGS
33-
-Dswift_Distributed_EXPORTS
33+
-DswiftDistributed_EXPORTS
3434
-I${SWIFT_SOURCE_DIR}/stdlib/include
3535
SWIFT_COMPILE_FLAGS
3636
${SWIFT_STANDARD_LIBRARY_SWIFT_FLAGS}

stdlib/public/Distributed/DistributedActor.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ findDistributedAccessor(const char *targetNameStart, size_t targetNameLength) {
3333
}
3434

3535
SWIFT_CC(swift)
36-
SWIFT_EXPORT_FROM(swift_Distributed)
36+
SWIFT_EXPORT_FROM(swiftDistributed)
3737
void *swift_distributed_getGenericEnvironment(const char *targetNameStart,
3838
size_t targetNameLength) {
3939
auto *accessor = findDistributedAccessor(targetNameStart, targetNameLength);
@@ -65,7 +65,7 @@ using TargetExecutorSignature =
6565
/*throws=*/true>;
6666

6767
SWIFT_CC(swiftasync)
68-
SWIFT_EXPORT_FROM(swift_Distributed)
68+
SWIFT_EXPORT_FROM(swiftDistributed)
6969
TargetExecutorSignature::FunctionType swift_distributed_execute_target;
7070

7171
/// Accessor takes:

stdlib/public/SwiftShims/Visibility.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,10 @@
187187
#else
188188
#define SWIFT_IMAGE_EXPORTS_swift_Concurrency 0
189189
#endif
190-
#if defined(swift_Distributed_EXPORTS)
191-
#define SWIFT_IMAGE_EXPORTS_swift_Distributed 1
190+
#if defined(swiftDistributed_EXPORTS)
191+
#define SWIFT_IMAGE_EXPORTS_swiftDistributed 1
192192
#else
193-
#define SWIFT_IMAGE_EXPORTS_swift_Distributed 0
193+
#define SWIFT_IMAGE_EXPORTS_swiftDistributed 0
194194
#endif
195195
#if defined(swift_Differentiation_EXPORTS)
196196
#define SWIFT_IMAGE_EXPORTS_swift_Differentiation 1

unittests/runtime/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ if(("${SWIFT_HOST_VARIANT_SDK}" STREQUAL "${SWIFT_PRIMARY_VARIANT_SDK}") AND
9393
# DistributedActor.cpp
9494
# )
9595
list(APPEND PLATFORM_TARGET_LINK_LIBRARIES
96-
swift_Distributed${SWIFT_PRIMARY_VARIANT_SUFFIX}
96+
swiftDistributed${SWIFT_PRIMARY_VARIANT_SUFFIX}
9797
)
9898
endif()
9999

0 commit comments

Comments
 (0)