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

Disabled Optimization During Generated Code Verification #1300

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

art-divin
Copy link
Collaborator

Context

SwiftTemplate uses swift compiler to verify generated code.
Verification does not generate binary for use, rather, a successful result of the generation is all what matters for all use cases of Sourcery executable.

For code verification, we want to use -c release to not make compiler generate additional "debug code" metadata, but we definitely do not want to use optimization during this compilation process.

@art-divin art-divin added this to the 2.1.8 milestone Mar 12, 2024
@art-divin art-divin self-assigned this Mar 12, 2024
@art-divin art-divin merged commit 9c0f3bf into master Mar 12, 2024
2 checks passed
@art-divin art-divin deleted the speed-up-swifttemplate-processing branch March 12, 2024 19:28
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