-
Notifications
You must be signed in to change notification settings - Fork 37
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
Got an error while building to SunOS #36
Comments
I did some digging into this. Oracle's libc documentation has a page for If we can't use I'll have to mark this one as "help wanted" until a better solution comes along. The only workaround I can offer is to add a feature flag to omit all the functions that use |
@papertigers @jclulow can we push that function on the illumos side into libc? I think this library is the only one implementing user related functionality in rust so some better support is good for rust projects wanting to check/modify os user configs. I get this error aswell on illumos |
It's there now: https://rust-lang.github.io/libc/x86_64-unknown-illumos/doc/libc/fn.getgrouplist.html |
Awesome thanks. Now with a modern enough version of libc and your PR it compiled. Up to testing metadata agent on bhyve :) |
For what it's worth, the addition of |
Ping @ogham |
Steps to reproduce:
Try to build
users
crate tosparcv9-sun-solaris
orx86_64-sun-solaris
archs.I'm trying to cross compile
fselect
and usedcross
for cross compiling to other archsExpected:
Compiled successfully.
Got:
As I checked crate
libc
, I found in documentation: there is no functionsgetgrouplist
for this archs.libc/platform-specific-documentation
The text was updated successfully, but these errors were encountered: