Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

More flexible rule around adding public fields to struct with private fields #229

Merged
merged 2 commits into from
Oct 19, 2021

Conversation

GuillaumeGomez
Copy link
Member

This comes from rust-lang/libc#2451.

Before this PR, the kinfo_proc struct only had one field which was private. I added the missing fields and made them all public. It doesn't seem to be a semver breaking change as the code using this struct previously will still work exactly the same.

@GuillaumeGomez
Copy link
Member Author

cc @JohnTitor

@GuillaumeGomez GuillaumeGomez changed the title More flexible rule around adding public fields to struct with (previously) only private fields More flexible rule around adding public fields to struct with private fields Oct 19, 2021
@JohnTitor
Copy link
Member

Thanks! @bors r+

@bors
Copy link
Contributor

bors commented Oct 19, 2021

📌 Commit a3d2d7c has been approved by JohnTitor

@bors
Copy link
Contributor

bors commented Oct 19, 2021

⌛ Testing commit a3d2d7c with merge 978dae7...

@bors
Copy link
Contributor

bors commented Oct 19, 2021

☀️ Test successful - checks-actions
Approved by: JohnTitor
Pushing 978dae7 to master...

@bors bors merged commit 978dae7 into rust-lang:master Oct 19, 2021
@GuillaumeGomez GuillaumeGomez deleted the more-flexible-rule branch October 19, 2021 19:49
@GuillaumeGomez
Copy link
Member Author

@JohnTitor Can you make a release whenever you can please? I'll update the libc PR afterwards to update the dependency version.

@JohnTitor
Copy link
Member

Released 0.1.48, it can be used with nightly-2021-09-30.

@GuillaumeGomez
Copy link
Member Author

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants