Skip to content

Statfs fs MAGIC constants are not available for target_os = "android" #1689

Closed
@flxo

Description

@flxo

The fs type constants defined in src/sys/statfs are guard by #[cfg(all(target_os = "linux", not(target_env = "musl")))] and therefore not available for target_os = "android. That hit me while patching cgroups-rs for Android and adding the target_os = "android" guard here

Any change to get this updated to #[cfg(any(all(target_os = "linux", not(target_env = "musl")), target_os = "android"))]?
If yes I can prepare a PR.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions