Skip to content

Using libgnu, on Haiku? #1251

Open
Open
@vmlemon

Description

@vmlemon

As part of Stebalien/xattr#63, I observed that Haiku implements a "Linux-compatible" xattr interface, as a wrapper, around its native BeOS-derived C++ APIs.

However, from what I understand, these functions are exported from its "libgnu" compatibility library, rather than as part of its "libroot" library, or any kind of kernel system call interface, so I assume that anything that uses Rustix, like that xattr library will not function, for fetching extended attributes, on this platform?

Sadly, as I'm largely unfamiliar with Rust, and interoperability with native libraries, I assume that either Rustix, or the xattr library would somehow have to link to the native libraries, and consume them, through the C ABI, and foreign function interface bindings, which I assume this project would be unwilling to support?

Any thoughts?

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