-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Make BundleInfo's fields not pub(crate) #8068
Make BundleInfo's fields not pub(crate) #8068
Conversation
Is it breaking? The fields are |
Yep I was wrong: this isn't breaking at all. |
Oh right the |
I don't think this needs to be in the 0.10.1 milestone, this doesn't affect any consumers of |
Objective
While working on #8053, it became apparent that
BundleInfo
'spub(crate)
fields are a potential soundness if the fields are accessed mutably after initialization.Solution
Make them not
pub(crate)
. Use inlined accessor functions instead.