Skip to content

Conversation

@nkcsgexi
Copy link
Contributor

Without setting this variable, we won't enable module interface verifier unless
explicitly asked to.

Without setting this variable, we won't enable module interface verifier unless
explicitly asked to.
@nkcsgexi
Copy link
Contributor Author

@swift-ci please test

@nkcsgexi nkcsgexi requested review from artemcm and xymus August 11, 2021 18:23

// FIXME: remove this when we are confident to enable interface verification
// by default.
if env["ENABLE_DEFAULT_INTERFACE_VERIFIER"] == nil &&
Copy link
Contributor

Choose a reason for hiding this comment

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

This is mostly a note for the future when we'll turn this var around. We could move this check to the default argument on line 432:

       parsedOptions.hasFlag(positive: .verifyEmittedModuleInterface,
                             negative: .noVerifyEmittedModuleInterface,
                             default: true),

Copy link
Contributor

@xymus xymus left a comment

Choose a reason for hiding this comment

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

Thanks!

@nkcsgexi nkcsgexi merged commit 4662a4a into swiftlang:main Aug 11, 2021
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.

2 participants