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

Is this API-compatible with nix? #37

Open
ris-work opened this issue Apr 16, 2024 · 2 comments
Open

Is this API-compatible with nix? #37

ris-work opened this issue Apr 16, 2024 · 2 comments

Comments

@ris-work
Copy link

ris-work commented Apr 16, 2024

As you are most probably already aware, there is also a library called nix which provides bindings to libc calls but with better type information. It is a very popular library and one of my projects transitively depend on it because webrtc-rs depends on nix. Is this API-compatible with nix? Are there any WASIX-friendly alternatives or ports of nix?

Thank you.

@ris-work
Copy link
Author

Oh, sorry, nevermind, this is not a rust library. Are there any plans for nix-like bindings?

@theduke
Copy link
Collaborator

theduke commented Apr 16, 2024

We do also have Rust libc bindings for WASIX, which are located here: https://github.com/wasix-org/libc .

There isn't anything like nix though.
Also of note is that WASIX is currently built on top of WASI v1, which looks quite diferent from the regular Linux ABI, so a largely compatible mapping would be a big challenge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants