Skip to content

Conversation

@rarensu
Copy link
Contributor

@rarensu rarensu commented Sep 15, 2025

  • Fixed a bug that would cause the passthrough test to fail on a non-linux target (e.g., MacOS).
  • Some structs are important enough to make crate-public. I plan to using them in future testing and reorganization.
  • Many small changes inspired by Clippy. It would seem that I neglected to link the Clippy explanation for these ones. Hopefully the reasoning drawn from my memory is adequate.

Previous PR in sequence was #399

Next PR in sequence was #401

Fixed a bug where the unit test for `Init` in `ll::request` would fail for certain abi versions (e.g., `abi-7-36`).
Fixed a bug where the documentation was missing from the `NO_XATTR` constant on a non-linux OS.
Using a macro to prevent duplication.
Clippy says it's better to write long constants with underscore separators: [https://rust-lang.github.io/rust-clippy/rust-1.51.0/index.html#unreadable_literal]
Promoted some important items to `public(crate)` for easier testing and future reorganization.
Fixed a bug where the passthrough test would fail on macOS simply because the target file doesn't exist. It can still fail, but the test failure should be related to the feature being tested (i.e., passthrough).
It's safer to define the block size as u32 (its true native type) and cast up to u64 as needed for file attr.
These `check_*` helper functions don't borrow anything from self, so they are better expressed as associated functions.
This `write_directory_content` function copies but doesn't move the entry data, so it is better as a borrowed parameter.
@cberner cberner merged commit a10e60e into cberner:master Sep 15, 2025
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants