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

Add -Xfrontend -emit-empty-object-file when Embedded is enabled for leaf modules #7612

Open
rauhul opened this issue May 29, 2024 · 0 comments
Labels
bug embedded Support for Embedded Swift

Comments

@rauhul
Copy link
Member

rauhul commented May 29, 2024

Description

Embedded puts all content into the .swiftmodule for non-leaf modules. As such linking object files with symbols for non-leaf modules causes duplicate symbol errors. We should pass -Xfrontend -emit-empty-object-file to avoid emitting objects with symbols for Embedded non-leaf modules.

@rauhul rauhul added bug embedded Support for Embedded Swift labels May 29, 2024
@MaxDesiatov MaxDesiatov self-assigned this Jun 5, 2024
@MaxDesiatov MaxDesiatov removed their assignment Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug embedded Support for Embedded Swift
Projects
None yet
Development

No branches or pull requests

2 participants