Skip to content

Commit 743a501

Browse files
committed
comment cleanup
1 parent 273edcf commit 743a501

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

stdlib/public/Platform/CMakeLists.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ add_custom_target(musl_modulemap DEPENDS ${musl_modulemap_target_list})
273273
set_property(TARGET musl_modulemap PROPERTY FOLDER "Miscellaneous")
274274
add_dependencies(sdk-overlay musl_modulemap)
275275

276-
# Add a system 'math' module overlay, that only applies only to platforms that
276+
# Add a system 'math' module overlay, which applies only to platforms that
277277
# have a top level '_math' module.
278278
add_swift_target_library(swift_math ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} IS_SDK_OVERLAY
279279
Math.swift
@@ -364,9 +364,8 @@ foreach(sdk ${SWIFT_SDKS})
364364
${copy_glibc_modulemap_header_static})
365365
endif()
366366

367-
# If this SDK is a target for a non-native host, except if it's for Android
368-
# with its own native sysroot, create a native modulemap without a sysroot
369-
# prefix. This is the one we'll install instead.
367+
# If this SDK is a target for a non-native host, create a native modulemap
368+
# without a sysroot prefix. This is the one we'll install instead.
370369
if(NOT "${SWIFT_SDK_${SWIFT_HOST_VARIANT_SDK}_ARCH_${arch}_PATH}" STREQUAL "/")
371370
set(glibc_sysroot_relative_modulemap_out "${module_dir}/sysroot-relative-modulemaps/glibc.modulemap")
372371

0 commit comments

Comments
 (0)