Skip to content

Conversation

cgwalters
Copy link
Member

No description provided.

Should have happened in the other PR.
- Unused imports because we weren't actually exporting the structs
  from those modules
- glib prelude is empty now?
- mount namespace usage is conditional

Signed-off-by: Colin Walters <walters@verbum.org>
@cgwalters cgwalters requested a review from jmarrero July 22, 2025 14:54
@github-actions github-actions bot added the area/rust-bindings Relates to the Rust bindings for the C library label Jul 22, 2025
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the ostree-sys dependency version and refactors some of the Rust bindings. The changes to conditionally compile a struct field and to add #[allow(unused_imports)] attributes seem correct and likely fix compiler warnings. However, I've identified two potential breaking API changes in rust-bindings/src/lib.rs where modules are no longer publicly re-exported. My review comments ask for clarification on these changes, as they could impact downstream users of this crate.

Copy link
Member

@jmarrero jmarrero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@cgwalters cgwalters merged commit d2e7bb3 into ostreedev:main Jul 22, 2025
24 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/rust-bindings Relates to the Rust bindings for the C library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants