whamcloud / rust-libzfs

Bindings to libzfs from rust
MIT License
27 stars 12 forks source link

FreeBSD Support? #63

Open fabianfreyer opened 6 years ago

fabianfreyer commented 6 years ago

It would be great if rust-libzfs would also work on FreeBSD!

jgrund commented 6 years ago

Hi @fabianfreyer,

We are currently using bindgen to create bindings using ZFS on Linux with CentOS. However I would be open to having different bindings generated / consumed provided we can keep the existing rust wrapper layer compatible.

I won't have time to work on something like this in the near future, but PRs / further discussion is certainly welcome

dsheets commented 6 years ago

I have the necessary modifications to the build system for FreeBSD 11.2 support. I am currently trying to build the bindings against ZoL master on a Debian VM to ensure that I have not broken the Linux support. I'm going to try to make a FreeBSD support PR this weekend.