-
Notifications
You must be signed in to change notification settings - Fork 289
Drop stability for external package includes #2159
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
Drop stability for external package includes #2159
Conversation
I'm trying to think through the implications of this in terms of bindgen, and I'm wondering if we perhaps want a different merging algorithm related to
I think that the instability will get propagated to Basically I'm worried about accidentally flagging something originally marked |
I think the individual items would get upgraded. Do I understand correctly that I found there are all sorts of edge cases here based on what I was re-reading the spec and the implications of Maybe we need to detail this out a bit more in the design/spec? I can think of a couple possibilities:
|
You're right yeah that Even if we disallow stability on How about a solution along the lines of:
That way the stability of |
Signed-off-by: James Sturtevant <jstur@microsoft.com>
Signed-off-by: James Sturtevant <jstur@microsoft.com>
Honestly, I think I missed the difference between same package and external package includes. It makes sense that inside the same packages the Stability to should align.
I think you are right, but I think you would still want to take the stability on the I'm drafting up a few concrete examples and will post them back here. |
Signed-off-by: James Sturtevant <jstur@microsoft.com>
7bb2201
to
adb24a5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh wow that was a pretty small implementation! Was there other tests you wanted to add or other examples? Otherwise this looks good to go to me
I saw you added some support to |
I did add support yeah but Fuzzing does though do round-tripping so once it generates all the things here it should catch this, in theory. |
I'm going to go ahead and land this, and if necessary can follow-up with extra tests/fuzzing. |
fixes #2113