-
Notifications
You must be signed in to change notification settings - Fork 2
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
Can not build on illumos #10
Comments
i see the PR is open for a long time with no response. any better alternative to that crate? |
In your usecase maybe libc crate directly? the users crate is pretty fundamental and seems unmaintained. A request for maintainer change is the only thing I can come up with. crates like whoami use the posix and windows API's directly but also lack illumos support. And the API you are using is pretty much one libc function that could be copied from the users crate. If I look at https://github.com/ogham/rust-users/blob/master/src/base.rs#L552-L557 one could rip out these two functions and thats all that this crate needs. The incompatible parts are the Os specific extensions that the users crate also supports. |
i'm thinking i can make it even simpler.... let me investigate it a bit. |
@Toasterson i think it should be resolved now. |
Yeah that definitely resolves the issue. And I think in the context of cargo-make this also adds a nice prefix to the path that should also work on Windows? |
for windows the scripts are positioned in /fsio/randomfile while in linux/mac/... its at /fsio_/fsio/randomfile |
closing as this is resolved. |
Describe The Bug
The users crate has a open PR which is required to build on illumos
To Reproduce
Build this crate on illumos
Link to PR
ogham/rust-users#49
The text was updated successfully, but these errors were encountered: