Skip to content

Conversation

@Ben-PH
Copy link
Collaborator

@Ben-PH Ben-PH commented Jan 13, 2026

This commit doesn't address dead-code warnings, as this is a WIP branch. When the branch is ready for the PR, the dead/unused code can be reviewed

This commit doesn't address dead-code warnings, as
this is a WIP branch. When the branch is ready for
the PR, the dead/unused code can be reviewed
Comment on lines 24 to 29
device_major(dev)
libc::major(dev)
}

#[cfg(not(target_os = "macos"))]
fn device_minor(dev: u64) -> u32 {
device_minor(dev)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The only part that changes logic. @Zorlin please confirm?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

#2 (comment)

@Zorlin is that something you'd like to delegate to me?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Hi, reply by email didn't seem to work

We don't want any libc functions in the codebase as it makes musl builds near impossible

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I've reverted that change, and will look into moving to musl in another branch.

If I run cargo test, it fails on dragonfly not being installed. assuming that test works on your machine, it should be good to go: If I did my job right, there isn't any changes to logic.

@Zorlin
Copy link
Collaborator

Zorlin commented Jan 13, 2026 via email

@Ben-PH Ben-PH changed the title refactor: Address warnings refactor: Address cargo and clippywarnings Jan 13, 2026
@Ben-PH Ben-PH changed the title refactor: Address cargo and clippywarnings refactor: Address cargo and clippy warnings Jan 13, 2026
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.

3 participants