Skip to content

Commit c4b0e62

Browse files
committed
[Remote Mirror] Only build under the control of SWIFT_BUILD_REMOTE_MIRROR.
Remote Mirror should be building under the control of its own flag, not trying to hijack the standard library build flags. If presets want (or do not want) remote mirror, they should set its build flag appropriately. (The default is to build it, so mostly this means some things should be disabling it. I'd already done the work for that as part of previous PRs, but apparently stopped short of completely dissociating it from `SWIFT_BUILD_STDLIB`, which was an error as it means that the minimal preset and things based on it are currently slightly broken.) rdar://106415217
1 parent 156edca commit c4b0e62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ if(SWIFT_BUILD_STDLIB)
162162
add_subdirectory(Backtracing)
163163
endif()
164164

165-
if(SWIFT_BUILD_STDLIB OR SWIFT_BUILD_REMOTE_MIRROR)
165+
if(SWIFT_BUILD_REMOTE_MIRROR)
166166
add_subdirectory(RemoteInspection)
167167
add_subdirectory(SwiftRemoteMirror)
168168
endif()

0 commit comments

Comments
 (0)