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

Fix handling stability of use of "foreign" types #2046

Merged

Conversation

alexcrichton
Copy link
Member

This commit addresses an issue where stability attributes on a use didn't quite work as expected when a type to another package was referred to. This fix was to update the "merging" process to skip types being processed in one more location which involved threading some more contexts around. Additionally use items, when elaborated, now contain their stability instead of the default stability to ensure that's propagated correctly as well.

cc #1995 but doesn't fix it

This commit addresses an issue where stability attributes on a `use`
didn't quite work as expected when a type to another package was
referred to. This fix was to update the "merging" process to skip types
being processed in one more location which involved threading some more
contexts around. Additionally `use` items, when elaborated, now contain
their stability instead of the default stability to ensure that's
propagated correctly as well.

cc bytecodealliance#1995 but doesn't fix it
@alexcrichton alexcrichton added this pull request to the merge queue Feb 10, 2025
Merged via the queue into bytecodealliance:main with commit eabdf0e Feb 10, 2025
31 checks passed
@alexcrichton alexcrichton deleted the thread-more-stability branch February 10, 2025 20:36
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