Drop stability for external package includes#2159
Drop stability for external package includes#2159alexcrichton merged 3 commits intobytecodealliance:mainfrom
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
alexcrichton
left a comment
There was a problem hiding this comment.
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