bytecodealliance / bytecodealliance/rustix

Using libgnu, on Haiku?

Open
#1,251 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2.1k
Forks
294
Avg merge
4h 7m
Merged PRs (30d)
2

Description

As part of https://github.com/Stebalien/xattr/issues/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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.