Skip to content

KINFO_FILE_SIZE is missing in libc on arm64 #5535

Description

@yurivict

The gram-text-editor-3.3.0 project (FreeBSD port editors/gram) fails to compile:

error[E0425]: cannot find value `KINFO_FILE_SIZE` in crate `libc`
   --> crates/fs/src/fs.rs:347:60
    |
347 |         unsafe { (*kif.as_mut_ptr()).kf_structsize = libc::KINFO_FILE_SIZE; }
    |                                                            ^^^^^^^^^^^^^^^ not found in `libc`

libc-0.2.189
FreeBSD 15.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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