-
Notifications
You must be signed in to change notification settings - Fork 106
Remove single merge restriction on target merging #937
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove single merge restriction on target merging #937
Conversation
This can result in multiple targets building the same code in BwX mode, but if that isn't desired a minimal target can be inserted to mimic the previous behavior. This change makes working with SwiftUI Previews nicer, as you can create a demo application for each `swift_library`.
23f10a0
to
be6abef
Compare
This can result in build errors in Xcode:
I'm thinking about how to resolve this, possibly with VFS overlay magic, but I might have to revert this. |
This reverts commit e798025. Allowing a target to be both merged and unmerged can commonly result in colliding output paths for swiftmodules. It also improves the target merging to prevent all versions of a target from merging, to prevent issues with target consolidation.
This reverts commit e798025. Allowing a target to be both merged and unmerged can commonly result in colliding output paths for swiftmodules. It also improves the target merging to prevent all versions of a target from merging, to prevent issues with target consolidation.
) This reverts commit e798025: #937 (comment). Allowing a target to be both merged and unmerged can commonly result in colliding output paths for swiftmodules. It also improves the target merging to prevent all versions of a target from merging, to prevent issues with target consolidation.
This can result in multiple targets building the same code in BwX mode, but if that isn't desired a minimal target can be inserted to mimic the previous behavior.
This change makes working with SwiftUI Previews nicer, as you can create a demo application for each
swift_library
.