Skip to content
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

Allow enabling embedded Swift without WMO when not generating SIL #1513

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

owenv
Copy link
Collaborator

@owenv owenv commented Dec 23, 2023

This allows modes like -index-file to work the same way they do when not using embedded Swift

This allows modes like -index-file to work the same way they do when not using embedded Swift
@@ -135,7 +135,7 @@ extension Driver {
throw ErrorDiagnostics.emitted
}

if embeddedEnabled &&
if embeddedEnabled && compilerOutputType?.requiresSILGen == true &&
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please add a comment here to explain this?
What's in the commit message should be enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants