Skip to content

Add '@_alwaysEmitConformanceMetadata' protocol attribute #60367

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 5, 2022

Conversation

artemcm
Copy link
Contributor

@artemcm artemcm commented Aug 2, 2022

This attribute will, in the near future, be used to inform IRGen that a nominal type that conforms to such protocol must have its type metadata always emitted into the binary, regardless of whether it is used/public.

@artemcm artemcm force-pushed the AddAlwaysEmitConformanceAttribute branch from dc51950 to c9a0785 Compare August 2, 2022 23:13
@artemcm
Copy link
Contributor Author

artemcm commented Aug 2, 2022

@swift-ci please test

@artemcm artemcm force-pushed the AddAlwaysEmitConformanceAttribute branch 2 times, most recently from 9c40390 to 188ca5a Compare August 4, 2022 15:31
@artemcm
Copy link
Contributor Author

artemcm commented Aug 4, 2022

@swift-ci please test

@artemcm artemcm marked this pull request as ready for review August 4, 2022 20:43
@aschwaighofer
Copy link
Contributor

Looks reasonable to me

This attribute will, in the near future, be used to inform IRGen that a nominal type that conforms to such protocol must have its type metadata always emitted into the binary, regardless of whether it is used/public.
@artemcm artemcm force-pushed the AddAlwaysEmitConformanceAttribute branch from 188ca5a to 4e2c1d1 Compare August 4, 2022 21:19
@artemcm
Copy link
Contributor Author

artemcm commented Aug 4, 2022

@swift-ci please test and merge

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.

5 participants