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

Unbreak build on DragonFly #89

Merged
merged 1 commit into from
Oct 18, 2023
Merged

Unbreak build on DragonFly #89

merged 1 commit into from
Oct 18, 2023

Commits on Oct 18, 2023

  1. Add DragonFly support via FreeBSD codepath

    DragonFly has `getmntinfo` for `statfs` and `getmntvinfo` for `statvfs`.
    Use `statfs` variant for compatibility with FreeBSD and OpenBSD.
    
    error[E0425]: cannot find function `get_mount_points` in this scope
      --> czkawka-6.0.0/cargo-crates/trash-3.0.2/src/freedesktop.rs:31:28
       |
    31 |         let mount_points = get_mount_points()?;
       |                            ^^^^^^^^^^^^^^^^ not found in this scope
    
    error[E0425]: cannot find function `get_mount_points` in this scope
      --> czkawka-6.0.0/cargo-crates/trash-3.0.2/src/freedesktop.rs:80:24
       |
    80 |     let mount_points = get_mount_points()?;
       |                        ^^^^^^^^^^^^^^^^ not found in this scope
    jbeich committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    ed1984b View commit details
    Browse the repository at this point in the history