-
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
macos build issue resolved #59
Conversation
had question, you are using nix crate, what benefits so far have you came across, and what made you choose it over syscall crate? how did you decide? |
and current type conversion is working on macos, i haven't checked on linux and other system, if you have any other method or safer method in your mind, let me know |
why CI didn't run? |
Signed-off-by: karan <[email protected]>
@mihaigalos can you review this in your free time? |
Hi @KMJ-007, seems you have some clippy errors. Since the code is still in your fork, can you please also fix them? |
I tried but it still says useless type conversion, but without those on macos it fails to compile cause some statfs function on macos were returning u32 what should i do? |
Sorry for replying so slow, I was very busy at work. Have a look at this, I'm open to new suggestions as well: |
Signed-off-by: karan <[email protected]>
Signed-off-by: karan <[email protected]>
Signed-off-by: karan <[email protected]>
done, but i wanted more simpler solution, but at the time i didn't find that, so added target os specific code, can you review it, in my for clippy action is green |
This is awesome. We can disregard coverage checks, I think it's something unrelated why they fail. |
i am still interested in this question |
No benefits whatsoever. There is no additional sycall I need to perform and the structure is already populated with nice data instead of needing a syscall for every field. |
closes #58