Skip to content

[Explicit Module Builds] Do not attempt to re-load module dependency from interface for index. #68152

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

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

artemcm
Copy link
Contributor

@artemcm artemcm commented Aug 25, 2023

An explicit module build compile is unable to do so because it does not have access to the interfaces. Doing this in the first place is a workaround for a known bug, which will require to be solved at the root cause instead (e.g. Deserialization Safety feature).

Resolves rdar://113165898

@artemcm artemcm requested a review from xymus August 25, 2023 21:47
@artemcm artemcm requested a review from bnbarham as a code owner August 25, 2023 21:47
@artemcm
Copy link
Contributor Author

artemcm commented Aug 25, 2023

A follow-up will be a change to make concrete when Explicitly-Prebuilt dependencies can emit forwarding modules. But that change has a dependency on driver changes for blocklists. In the meantime, this unblocks explicit module builds for affected projects.

@artemcm
Copy link
Contributor Author

artemcm commented Aug 25, 2023

@swift-ci smoke test

@artemcm artemcm force-pushed the NoIndexRebuilOnExplicitBuild branch from 5536f7e to b09e702 Compare August 25, 2023 22:57
@artemcm
Copy link
Contributor Author

artemcm commented Aug 25, 2023

@swift-ci smoke test

…from

interface for index.

An explicit module build compile is unable to do so because it does not have
access to the interfaces. Doing this in the first place is a workaround for a
known bug, which will require to be solved at the root cause instead (e.g.
Deserialization Safety feature).

Resolves rdar://113165898
@artemcm artemcm force-pushed the NoIndexRebuilOnExplicitBuild branch from b09e702 to e0275f4 Compare August 25, 2023 23:34
@artemcm
Copy link
Contributor Author

artemcm commented Aug 25, 2023

@swift-ci smoke test

@artemcm artemcm merged commit e313169 into swiftlang:main Aug 28, 2023
@artemcm artemcm deleted the NoIndexRebuilOnExplicitBuild branch August 28, 2023 17:21
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.

3 participants