Skip to content
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

Merged
merged 3 commits into from
Oct 9, 2020

Commits on Oct 9, 2020

  1. 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.
    cuviper committed Oct 9, 2020
    Configuration menu
    Copy the full SHA
    c1297ec View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    365e00a View commit details
    Browse the repository at this point in the history
  3. simplify the cfg in ReadDir construction

    Co-authored-by: David Tolnay <dtolnay@gmail.com>
    cuviper and dtolnay authored Oct 9, 2020
    Configuration menu
    Copy the full SHA
    1d06b07 View commit details
    Browse the repository at this point in the history