Skip to content

Conversation

cachemeifyoucan
Copy link
Contributor

Allow -typecheck-module-from-interface using explicit module instead of building implicit module.

This setups swift-frontend to accept explicit module build arguments and loading explicit module during verifying. SwiftDriver needs to setup correct arguments including the output path for swift module to fully enable explicit module interface check.

@cachemeifyoucan
Copy link
Contributor Author

@swift-ci please smoke test

@cachemeifyoucan
Copy link
Contributor Author

@swift-ci please smoke test

@cachemeifyoucan cachemeifyoucan force-pushed the eng/PR-explicit-module-interface-check branch from 5509fed to 0369141 Compare July 19, 2023 17:46
… module Allow `-typecheck-module-from-interface` using explicit module instead of building implicit module. This setups swift-frontend to accept explicit module build arguments and loading explicit module during verifying. SwiftDriver needs to setup correct arguments including the output path for swift module to fully enable explicit module interface check.
-typecheck-module-from-interface doesn't emit textual output as configured in frontend option. The real output is diagnostics but that is not tracked by output computer which is using the option. Teach `swift-frontend` that it doesn't actually emit any real output and tell serialization not to emit swiftmodule.
@cachemeifyoucan cachemeifyoucan force-pushed the eng/PR-explicit-module-interface-check branch from 0369141 to 411937d Compare July 19, 2023 17:54
@cachemeifyoucan
Copy link
Contributor Author

@swift-ci please smoke test

@cachemeifyoucan
Copy link
Contributor Author

@swift-ci please smoke test linux platform

@cachemeifyoucan
Copy link
Contributor Author

ping

@cachemeifyoucan cachemeifyoucan merged commit b9fef33 into swiftlang:main Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants