-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
unix/vxworks: make DirEntry slightly smaller #77674
Conversation
r? @dtolnay (rust_highfive has picked a reviewer for you, use r? to override) |
@bors r+ |
📌 Commit 12c94b27f3c703eede3ab7621c5e8eaaa7ef4daa has been approved by |
⌛ Testing commit 12c94b27f3c703eede3ab7621c5e8eaaa7ef4daa with merge 13edb9ca1cd1b2f50b7cb0d685d3db5ed59c35ec... |
💔 Test failed - checks-actions |
Fixed a clone that I had missed... @bors r=dtolnay |
📌 Commit 5f76201 has been approved by |
unix/vxworks: make DirEntry slightly smaller `DirEntry` contains a `ReadDir` handle, which used to just be a wrapper on `Arc<InnerReadDir>`. Commit af75314 added `end_of_stream: bool` which is not needed by `DirEntry`, but adds 8 bytes after padding. We can let `DirEntry` have an `Arc<InnerReadDir>` directly to avoid that.
@bors r- rollup=iffy failed in #77712 (comment) |
`DirEntry` contains a `ReadDir` handle, which used to just be a wrapper on `Arc<InnerReadDir>`. Commit af75314 added `end_of_stream: bool` which is not needed by `DirEntry`, but adds 8 bytes after padding. We can let `DirEntry` have an `Arc<InnerReadDir>` directly to avoid that.
Well that's annoying -- that |
Co-authored-by: David Tolnay <dtolnay@gmail.com>
@bors r+ rollup=iffy |
📌 Commit 1d06b07 has been approved by |
☀️ Test successful - checks-actions, checks-azure |
DirEntry
contains aReadDir
handle, which used to just be a wrapperon
Arc<InnerReadDir>
. Commit af75314 addedend_of_stream: bool
which is not needed by
DirEntry
, but adds 8 bytes after padding. Wecan let
DirEntry
have anArc<InnerReadDir>
directly to avoid that.