-
Notifications
You must be signed in to change notification settings - Fork 204
Re-Sync Options Flags #520
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
Conversation
3a895ef
to
e6d948c
Compare
@swift-ci test |
Missed some more tests. |
e6d948c
to
256e046
Compare
@swift-ci test |
256e046
to
2990548
Compare
@swift-ci test macOS |
@swift-ci test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although I've left a few comments about pushing the renaming through further, it would be fine to address those in a subsequent PR. The one part that I'm too concerned about to just Approve this at the moment is that it looks like an invocation like ... -disable... -enable... will be handled incorrectly (i.e. not like the legacy driver where the last argument dominates). But maybe I'm missing something?
Now that cross-module incremental builds are controlled by -{enable,disable}-incremental-imports, resync the options and teach merge-modules to propagate the disable flag.
2990548
to
c7d8705
Compare
@swift-ci test |
if parsedOptions.hasFlag(positive: .disableIncrementalImports, | ||
negative: .enableIncrementalImports, | ||
default: false) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I hope that someday one of us can push the renaming through, but not critical today.
⛵ |
Now that cross-module incremental builds are controlled by -{enable,disable}-incremental-imports, resync the options and teach merge-modules to propagate the disable flag.
rdar://74363450