diff --git a/cmake/modules/SwiftModuleInstallation.cmake b/cmake/modules/SwiftModuleInstallation.cmake index 15537250f..d1f5b096e 100644 --- a/cmake/modules/SwiftModuleInstallation.cmake +++ b/cmake/modules/SwiftModuleInstallation.cmake @@ -86,19 +86,9 @@ function(_swift_testing_install_target module) install(FILES $/${module_name}.swiftdoc DESTINATION "${module_dir}" RENAME ${SwiftTesting_MODULE_TRIPLE}.swiftdoc) - if(APPLE) - # Only Darwin has stable ABI. - install(FILES $/${module_name}.swiftinterface - DESTINATION "${module_dir}" - RENAME ${SwiftTesting_MODULE_TRIPLE}.swiftinterface) - else() - # Only install the binary .swiftmodule on platforms which do not have a - # stable ABI. Other platforms will use the textual .swiftinterface - # (installed above) and this limits access to this module's SPIs. - install(FILES $/${module_name}.swiftmodule - DESTINATION "${module_dir}" - RENAME ${SwiftTesting_MODULE_TRIPLE}.swiftmodule) - endif() + install(FILES $/${module_name}.swiftinterface + DESTINATION "${module_dir}" + RENAME ${SwiftTesting_MODULE_TRIPLE}.swiftinterface) endfunction() # Install the specified .swiftcrossimport directory for the specified declaring