Skip to content

Skip default CMO when emitting module separately#2035

Open
rjmansfield wants to merge 1 commit intoswiftlang:mainfrom
rjmansfield:skip-cmo-when-emit-module-separately
Open

Skip default CMO when emitting module separately#2035
rjmansfield wants to merge 1 commit intoswiftlang:mainfrom
rjmansfield:skip-cmo-when-emit-module-separately

Conversation

@rjmansfield
Copy link
Copy Markdown
Contributor

Cross-module optimization is incompatible with emitting the module separately. Previously, an assertion caught this condition, but the assertion would not fire in release builds.

This changes the logic to simply skip enabling default CMO when emitModuleSeparately is true, rather than asserting or erroring.

Cross-module optimization is incompatible with emitting the module
separately. Previously, an assertion caught this condition, but the
assertion would not fire in release builds.

This changes the logic to simply skip enabling default CMO when
emitModuleSeparately is true, rather than asserting or erroring.
@rjmansfield
Copy link
Copy Markdown
Contributor Author

@swift-ci please test

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.

1 participant